mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +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