Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Completely delete the buf field of struct html and all the buf*() | Ingo Schwarze | 2017-01-17 | 1 | -26/+22 |
| | | | | | | | | | interfaces. Such a static buffer was a bad idea in the first place, causing unfixable truncation that was only prevented by triggering an assertion failure. Instead, let the small number of remaining users allocate and free their own, temporary dynamic buffers, or for the case of .Xr and .In, pass the original data to be assembled in print_otag(). | ||||
* | Simplify the usage of print_otag() by making it accept a variable | Ingo Schwarze | 2017-01-17 | 1 | -19/+114 |
| | | | | | | | | | | number of arguments. Delete struct htmlpair and all the PAIR_*() macros. Delete enum htmlattr, handle that in print_otag() instead. Minus 190 lines of code; no functional change except better ordering of attributes (class before style) in three cases. | ||||
* | Partially document the core of the HTML formatter. | Ingo Schwarze | 2014-07-23 | 1 | -0/+249 |
Stuff i learnt during my audit for XSS vulnerabilities. |