aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_html.3
Commit message (Collapse)AuthorAgeFilesLines
* Completely delete the buf field of struct html and all the buf*()Ingo Schwarze2017-01-171-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 variableIngo Schwarze2017-01-171-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 Schwarze2014-07-231-0/+249
Stuff i learnt during my audit for XSS vulnerabilities.