Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-05 | spans: make Emitter generic over Span | Martin Fischer | |
2021-12-05 | fix wrong state transition in ScriptDataLessThanSign state | Martin Fischer | |
Before the following happened: % printf '<script><b>test</b></script>' | cargo run --example=switch-state StartTag(StartTag { self_closing: false, name: "script", attributes: {} }) String("<b>test") EndTag(EndTag { name: "b" }) EndTag(EndTag { name: "script" }) Which is obviously wrong. After a <script> tag we want to switch to the ScriptData state (instead of the Data state). This commit fixes this implementation error, making the above command produce the expected output of: StartTag(StartTag { self_closing: false, name: "script", attributes: {} }) String("<b>test</b>") EndTag(EndTag { name: "script" }) | |||
2021-12-05 | introduce StartTag::next_state | Martin Fischer | |
Closes #11. | |||
2021-12-05 | allow setting the Tokenizer to Data, PlainText, RcData, RawText and ↵ | Martin Fischer | |
ScriptData states | |||
2021-12-05 | prepare for introduction of public State enum | Martin Fischer | |
2021-12-03 | fix new clippy | Markus Unterwaditzer | |
2021-11-28 | clarify what html5gum isn't, fix #5 | Markus Unterwaditzer | |
2021-11-27 | fix crash in try_read_string | Markus Unterwaditzer | |
2021-11-27 | split up match-arms and tokenizer to isolate some tokenizer-internal state | Markus Unterwaditzer | |
purpose: don't want to expose self.to_reconsume to the consume() method | |||
2021-11-26 | Read html from io::BufRead (#8) | Markus Unterwaditzer | |
2021-11-26 | clean up reader interface | Markus Unterwaditzer | |
2021-11-24 | hello world | Markus Unterwaditzer | |