Commit Graph
10 Commits
Author SHA1 Message Date
iska bc8abb116f Fix UTF32Char to String conversion for invalid unicode characters
Invalid, isolated surrogate pairs, UTF32 characters should handled specially and converted to UniChars first
2014-10-31 21:46:54 +01:00
iska d5ff28b1de Fix parsing numeric entities
Numbers > UINT_MAX should be handled correctly now
2014-10-31 00:10:41 +01:00
iska f04abf6236 Fix numeric entity replacement bug where wrong variable and valid-range were used 2014-10-26 22:29:23 +01:00
iska d2507dcd5b Use little endian UTF-32 encoding for char-string conversion 2014-10-23 20:08:02 +02:00
iska 968a6aff79 Implement named character entity replacement
https://html.spec.whatwg.org/multipage/syntax.html#tokenizing-character-references
2014-10-23 20:07:30 +02:00
iska 5597323fbf Add a Numeric Entity Replacement table to replace the switch-statement for windows1525 trick 2014-10-12 19:12:23 +02:00
iska 17f2f32350 Add implementation for HTML Tokenization
- The Token classes are all defined in one single header right now and do not include an implmentation.
- The Parser class is currently only a stub

HTML Tokenization Spec: https://html.spec.whatwg.org/multipage/syntax.html#tokenization
2014-10-04 23:30:32 +02:00
iska bfd9c9df97 Add implementation to consume a number reference
https://html.spec.whatwg.org/multipage/syntax.html#consume-a-character-reference
2014-09-22 00:31:44 +02:00
iska 5724912986 Add central definitions for characters used throughout HTML parsing
Several inlined functions are also defined to perform checks in read characters
2014-09-22 00:18:27 +02:00
iska fb01febfca Add class stubs for HTML tokenizer implementation
https://html.spec.whatwg.org/multipage/syntax.html#tokenization
2014-09-20 23:04:23 +02:00