mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-28 22:14:58 +00:00
Get rid of the tweakParseTreeNode() hack
It’s an embarrassing hangover from a refactoring of the parsing mechanism last year.
This commit is contained in:
@@ -46,8 +46,7 @@ exports.parse = function() {
|
||||
}
|
||||
// Return the $codeblock widget
|
||||
return [{
|
||||
type: "element",
|
||||
tag: "$codeblock",
|
||||
type: "codeblock",
|
||||
attributes: {
|
||||
code: {type: "string", value: text},
|
||||
language: {type: "string", value: this.match[1]}
|
||||
|
||||
Reference in New Issue
Block a user