<feed xmlns='http://www.w3.org/2005/Atom'>
<title>html5tokenizer/examples, branch v0.5.0</title>
<subtitle>Fork of html5gum with code span support</subtitle>
<id>http://git.push-f.com/html5tokenizer/atom/examples?h=v0.5.0</id>
<link rel='self' href='http://git.push-f.com/html5tokenizer/atom/examples?h=v0.5.0'/>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/'/>
<updated>2023-08-19T11:53:58Z</updated>
<entry>
<title>feat: introduce NaiveParser</title>
<updated>2023-08-19T11:53:58Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-12T10:58:08Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=0d9cd9ed44b676ccd4991cea27dc620b94ebe7e7'/>
<id>urn:sha1:0d9cd9ed44b676ccd4991cea27dc620b94ebe7e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor!: make Emitter generic over offset instead of reader</title>
<updated>2023-08-19T11:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-17T07:40:47Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=c15895d44d17984386d3684e2aa85aca386ba3bf'/>
<id>urn:sha1:c15895d44d17984386d3684e2aa85aca386ba3bf</id>
<content type='text'>
Emitters should not have access to the reader at all.  Also the
current position of the reader, at the time an Emitted method is
called, very much depends on machine implementation details such
as if `Tokenizer::unread_char` is used. Having the Emitter
methods take offsets lets the machine take care of providing
the right offsets, as evidenced by the next commit.
</content>
</entry>
<entry>
<title>refactor: add default for S type param of DefaultEmitter</title>
<updated>2023-08-19T09:40:58Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-17T06:57:15Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=c899f2f36df0371af776f21231ccdf0d30a2aaab'/>
<id>urn:sha1:c899f2f36df0371af776f21231ccdf0d30a2aaab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>break!: merge Tokenizer::new_with_emitter into Tokenizer::new</title>
<updated>2023-08-19T04:41:55Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-12T09:06:02Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=9f1019afa7a8e9102d67356d85bd632044eb2d0c'/>
<id>urn:sha1:9f1019afa7a8e9102d67356d85bd632044eb2d0c</id>
<content type='text'>
The Tokenizer does not perform any state switching, since
proper state switching requires a feedback loop between
tokenization and DOM tree building. Using the Tokenizer
directly therefore is a bit of a pitfall, since you might
not expect it to e.g. tokenize `&lt;script&gt;&lt;b&gt;` as:

    StartTag(StartTag { name: "script", .. })
    StartTag(StartTag { name: "b", .. })

Since we don't want to make walking into pitfalls
particularly easy, this commit changes the Tokenizer::new
method so that you have to specify the Emitter.
Since this makes new_with_emitter redundant it is removed.
</content>
</entry>
<entry>
<title>break!: remove StartTag::next_state</title>
<updated>2023-08-19T04:41:03Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2023-08-18T12:14:52Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=bfff0560a0e448eef41ac2b4c7e8deb0a77e4167'/>
<id>urn:sha1:bfff0560a0e448eef41ac2b4c7e8deb0a77e4167</id>
<content type='text'>
You shouldn't manually have to match tokens yielded by the
tokenizer iterator just to correctly handle state transitions.
A better NaiveParser API will be introduced.
</content>
</entry>
<entry>
<title>rename to html5tokenizer, bump version</title>
<updated>2021-12-05T02:52:22Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-12-05T02:19:03Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=b00714411306ee6500e4ee34a81bd7f4a111169e'/>
<id>urn:sha1:b00714411306ee6500e4ee34a81bd7f4a111169e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>introduce StartTag::next_state</title>
<updated>2021-12-05T01:45:31Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-11-30T15:16:47Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=7e400c29bf14bd75154c74e2dd9ba0814f83bec7'/>
<id>urn:sha1:7e400c29bf14bd75154c74e2dd9ba0814f83bec7</id>
<content type='text'>
Closes #11.
</content>
</entry>
<entry>
<title>Fix typo and add example (#9)</title>
<updated>2021-12-03T14:59:37Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-12-03T14:59:37Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/html5tokenizer/commit/?id=c9c8fcf4daa594c7b3ffe08a64f563f152c22f29'/>
<id>urn:sha1:c9c8fcf4daa594c7b3ffe08a64f563f152c22f29</id>
<content type='text'>
</content>
</entry>
</feed>
