diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,8 +19,8 @@ for token in NaiveParser::new(html).flatten() { Token::StartTag(tag) => { write!(new_html, "<{}>", tag.name).unwrap(); } - Token::String(hello_world) => { - write!(new_html, "{}", hello_world).unwrap(); + Token::Char(c) => { + write!(new_html, "{c}").unwrap(); } Token::EndTag(tag) => { write!(new_html, "</{}>", tag.name).unwrap(); |