Text-slicer: Switch to loose mode

So that non-XML entities work.
print-window-tiddler
Jermolene 2018-01-04 16:02:58 +00:00
rodzic a7a3748bca
commit 50950d8143
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -66,8 +66,9 @@ function Slicer(options) {
this.parentStack.push({chunk: 0, actions: this.getMatchingSlicerRuleActions("(document)")});
// Set up the parser
var sax = require("$:/plugins/tiddlywiki/sax/sax.js");
this.sax = sax.parser(true,{
xmlns: true
this.sax = sax.parser(false,{
xmlns: true,
lowercase: true
});
this.sax.onerror = this.onError.bind(this);
this.sax.onopennamespace = this.onOpenNamespace.bind(this);