diff --git a/src/views.rs b/src/views.rs index 2ff1726..3d86784 100644 --- a/src/views.rs +++ b/src/views.rs @@ -26,6 +26,14 @@ pub fn rich(s: &str) -> String { "br", "p", "sup", "sub", "b", "strong", "i", "em", "u", "ol", "ul", "li", "table", "tbody", "thead", "tr", "th", "td", "span", ]; + // A `<` only starts a tag when followed by a letter, `/`, `!` or `?` + // (i.e. `

`, `

`, `