Skip to content
Snippets Groups Projects
Commit 17ac0b99 authored by marihachi's avatar marihachi
Browse files

fix italic syntax

parent d08b0dcb
No related branches found
No related tags found
No related merge requests found
...@@ -229,12 +229,12 @@ italicTag ...@@ -229,12 +229,12 @@ italicTag
} }
italicAlt italicAlt
= "*" content:$(!"*" ([a-z0-9]i / _))+ "*" &(LF / _) = "*" content:$(!"*" ([a-z0-9]i / _))+ "*" &(EOF / LF / _)
{ {
const parsedContent = applyParser(content, 'inlineParser'); const parsedContent = applyParser(content, 'inlineParser');
return ITALIC(parsedContent); return ITALIC(parsedContent);
} }
/ "_" content:$(!"_" ([a-z0-9]i / _))+ "_" &(LF / _) / "_" content:$(!"_" ([a-z0-9]i / _))+ "_" &(EOF / LF / _)
{ {
const parsedContent = applyParser(content, 'inlineParser'); const parsedContent = applyParser(content, 'inlineParser');
return ITALIC(parsedContent); return ITALIC(parsedContent);
......
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