1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 17:05:33 +03:00

Correct the emphasis rule.

This commit is contained in:
Rob Rix 2017-06-07 18:44:51 -04:00
parent 7ad8f25919
commit cc2547d5ee

View File

@ -75,7 +75,7 @@ strong :: Assignment
strong = makeTerm <$> symbol Grammar.Strong <*> children (Strong <$> many inlineElement)
emphasis :: Assignment
emphasis = makeTerm <$> symbol Grammar.Strong <*> children (Strong <$> many inlineElement)
emphasis = makeTerm <$> symbol Grammar.Emphasis <*> children (Emphasis <$> many inlineElement)
paragraph :: Assignment
paragraph = makeTerm <$> symbol Grammar.Paragraph <*> children (Paragraph <$> many inlineElement)