Hi Jeremy!
I checked some more of the parser rules and found this one:
this.matchRegExp = /(&#?[a-zA-Z0-9]{2,8};)/mg;
While this works, it also will match stuff like &#nbsp; which is completely
wrong.
I think a better approach would be
this.matchRegExp = /(&\w+;|&#[0-9]+;&#x[0-9a-fA-F]+;)/g;
Again I'm wondering whether or not to get rid of "mg". "m" is surely not
required as there is no anchor at all.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.