1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +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) strong = makeTerm <$> symbol Grammar.Strong <*> children (Strong <$> many inlineElement)
emphasis :: Assignment emphasis :: Assignment
emphasis = makeTerm <$> symbol Grammar.Strong <*> children (Strong <$> many inlineElement) emphasis = makeTerm <$> symbol Grammar.Emphasis <*> children (Emphasis <$> many inlineElement)
paragraph :: Assignment paragraph :: Assignment
paragraph = makeTerm <$> symbol Grammar.Paragraph <*> children (Paragraph <$> many inlineElement) paragraph = makeTerm <$> symbol Grammar.Paragraph <*> children (Paragraph <$> many inlineElement)