|
|
|
|
|
by Forge36
2011 days ago
|
|
It looks straightforward until you hit a couple of edge cases.
Examples: test <1 becomes test 1 Test< 2 becomes test 2 Test <a becomes test Test < b becomes test b (From memory) What about:
Test <fakeTag>? Per tests i did, "test " was expected however "test <fakeTag>” was seen as the plaintext version suggesting there's a list of valid tags which is filtering the behavior. |
|
The full details are in here somewhere: https://www.w3.org/TR/2011/WD-html5-20110113/tokenization.ht...