Skip to content

Commit c956419

Browse files
Fixing issue with selfClosingTags option.
1 parent e5a68f1 commit c956419

File tree

2 files changed

+1615
-49
lines changed

2 files changed

+1615
-49
lines changed

src/xslt/xslt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ export class Xslt {
8888
this.xPath = new XPath();
8989
this.matchResolver = new MatchResolver();
9090
this.options = {
91-
escape: options.escape || true,
92-
selfClosingTags: options.selfClosingTags || true,
91+
escape: options.escape === true,
92+
selfClosingTags: options.selfClosingTags === true,
9393
parameters: options.parameters || []
9494
};
9595
this.outputMethod = 'xml';

0 commit comments

Comments
 (0)