mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-07 14:23:53 +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);
|
text = this.source.substr(this.pos);
|
||||||
this.pos = this.sourceLength;
|
this.pos = this.sourceLength;
|
||||||
}
|
}
|
||||||
return [$tw.Tree.Element("code",{},[$tw.Tree.Text(text)])];
|
return [$tw.Tree.Element("pre",{},[$tw.Tree.Text(text)])];
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user