Commit Graph

3 Commits

Author SHA1 Message Date
Oliver Middleton
79061d0e02 rustdoc: Catch fatal errors when syntax highlighting
For some errors the lexer will unwind so we need to handle that in addition to handling `token::Unknown`.
2020-01-17 23:44:44 +00:00
Oliver Middleton
baf2921ebc rustdoc: HTML escape codeblocks which fail syntax highlighting 2020-01-15 22:42:04 +00:00
Andy Russell
8c93798e9f rustdoc: check code block syntax in early pass 2019-01-14 21:21:21 -05:00