mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Text-slicer: Switch to loose mode
So that non-XML entities work.
This commit is contained in:
parent
a7a3748bca
commit
50950d8143
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user