1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-27 14:48:19 +00:00

Fixed element used for block code blocks

This commit is contained in:
Jeremy Ruston 2012-06-04 12:25:08 +01:00
parent 75f8abcf35
commit 17c77fb3b8

View File

@ -31,7 +31,7 @@ exports.parse = function(match,isBlock) {
text = this.source.substr(this.pos);
this.pos = this.sourceLength;
}
return [$tw.Tree.Element("code",{},[$tw.Tree.Text(text)])];
return [$tw.Tree.Element("pre",{},[$tw.Tree.Text(text)])];
};
})();