kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fixed embarrassing bug with the heading wikitext rule
rodzic
f182463010
commit
87749397c0
|
@ -39,7 +39,7 @@ exports.regExpString = "!{1,6}";
|
|||
exports.parse = function(match,isBlock) {
|
||||
this.pos = match.index + match[0].length;
|
||||
var classedRun = this.parseClassedRun(/(\r?\n)/mg);
|
||||
return [$tw.Tree.Element("h1",{"class": classedRun["class"]},classedRun.tree)];
|
||||
return [$tw.Tree.Element("h" + match[0].length,{"class": classedRun["class"]},classedRun.tree)];
|
||||
};
|
||||
|
||||
})();
|
||||
|
|
Ładowanie…
Reference in New Issue