aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-23 00:30:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-23 00:30:38 +0000
commit84f01e803390ccf5d3175c83c884eafa88507c09 (patch)
tree09699e9e59ee304c28201b50247b6bbe26147725 /html.h
parenta6e8996beb3309355b7ba9fbf8a1349d2c8e33f9 (diff)
downloadmandoc-84f01e803390ccf5d3175c83c884eafa88507c09.tar.gz
mandoc-84f01e803390ccf5d3175c83c884eafa88507c09.tar.zst
mandoc-84f01e803390ccf5d3175c83c884eafa88507c09.zip
Simplify font handling:
1. Inherit the font attribute from the parent box, such that iteration is no longer required to find the current font. 2. For well-known function name tokens, do not insert an EQN_LISTONE box into the AST; simply set the font attribute of the text box itself that contains the name. Also improve word splitting of unquoted strings in default font mode: 3. Split between numbers and punctuation because both will soon get different HTML markup. 4. Do not split between letters. With the newly ubiquitious font attributes, all formatters will be able to figure out what to do without putting each letter into a separate box.
Diffstat (limited to 'html.h')
0 files changed, 0 insertions, 0 deletions