1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-21 09:44:51 +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:
Jermolene
2014-05-14 08:51:08 +01:00
parent 92aa1f24be
commit c9c1b0fbb4
15 changed files with 39 additions and 69 deletions

View File

@@ -14,8 +14,7 @@ The plain text parser processes blocks of source text into a degenerate parse tr
var TextParser = function(type,text,options) {
this.tree = [{
type: "element",
tag: "$codeblock",
type: "codeblock",
attributes: {
code: {type: "string", value: text},
language: {type: "string", value: type}