Skip to content
Snippets Groups Projects
Commit 8dfc5422 authored by marihachi's avatar marihachi
Browse files

apply the text merging

parent 6eb76f1e
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ blockCode_line
big
= "***" content:(!"***" i:inline { return i; })+ "***"
{
return createTree('big', { }, content);
return createTree('big', { }, mergeText(content));
}
......@@ -106,13 +106,13 @@ bold = bold_A / bold_B
bold_A
= "**" content:(!"**" i:inline { return i; })+ "**"
{
return createTree('bold', { }, content);
return createTree('bold', { }, mergeText(content));
}
bold_B
= "__" content:(!"__" i:inline { return i; })+ "__"
{
return createTree('bold', { }, content);
return createTree('bold', { }, 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