summaryrefslogtreecommitdiff
path: root/src/html_charrefs.h
AgeCommit message (Collapse)Author
2014-09-14no unicode surrogates in html5 charrefscorvid
I see that clang gives warnings when it sees them. I had it that way because I start with the html5 json file that gives them like that for whatever reason.
2014-08-10trim spacescorvid
...now that floats and grows are in the repo and I won't be making Sebastian's life difficult with a bunch of whitespace changes.
2014-07-08html5 character referencescorvid
some of them are more than one unicode codepoint. I know there were cases that resulted in six bytes, which could in principle be longer than the reference that it's replacing (e.g., "&" is five bytes). So this required some reworking. As for (mostly) duplicating the strings for html4 and html5, ⟨ and ⟩ are currently different and it would have felt a little silly in 2014 to have, say, a bool for whether an html5 ref appears in html4 plus special code for lang/rang.