Skip to content
Snippets Groups Projects
Commit 6d2f7c4c authored by marihachi's avatar marihachi
Browse files

fix bug: title

parent 533a4b33
No related branches found
No related tags found
No related merge requests found
......@@ -56,13 +56,13 @@ title
= titleA / titleB
titleA
= BEGINLINE "【" content:(!("】" ENDLINE) i:inline { return i; })+ "】" ENDLINE
= BEGINLINE "【" content:(!(NEWLINE / "】" ENDLINE) i:inline { return i; })+ "】" ENDLINE
{
return createTree('title', { }, mergeText(content));
}
titleB
= BEGINLINE "[" content:(!("]" ENDLINE) i:inline { return i; })+ "]" ENDLINE
= BEGINLINE "[" content:(!(NEWLINE / "]" ENDLINE) i:inline { return i; })+ "]" ENDLINE
{
return createTree('title', { }, mergeText(content));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment