mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Fixed element used for block code blocks
This commit is contained in:
parent
75f8abcf35
commit
17c77fb3b8
@ -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)])];
|
||||
};
|
||||
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user