rbuckton / grammarkdown

Markdown-like DSL for defining grammatical syntax for programming languages.
https://rbuckton.github.io/grammarkdown/
MIT License
126 stars 24 forks source link

Report an error for non-renderable html trivia #55

Closed rbuckton closed 4 years ago

rbuckton commented 4 years ago

Unfortunately this doesn't as much fix #33 as it reports an error if you try to write html trivia in a grammarkdown production where it is not possible to render it.

Fixes: #33

rbuckton commented 4 years ago

There are probably other places I need to expand this to as well in the future, but I'll leave that for a later PR.

rbuckton commented 4 years ago

This should now report an error as of grammarkdown@2.2.2.