summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/axfr.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-12-03 16:17:59 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-12-03 16:17:59 +0000
commit2e425af70b391fd591b6fb6fb62f77f63d7c41ef (patch)
tree95f068005501c08d6d72dd4256dad4284f6c3086 /usr.sbin/nsd/axfr.c
parentc5edad0af3bd048a5d1d69561893a9701467e4bd (diff)
Render .br as <br/>, not as an empty <div>.
The element <br/> was already employed for many other purposes, so there is nothing wrong with using it. Also, it is safer because <br/> is permitted in phrasing content, whereas <div> is only allowed in flow content. This is the first part of the HTML syntax audit which i wanted to do for a long time. Reminded by a loosely related bug report from Mark Harris <mark dot hsj at gmail dot com>. Examples of where this caused HTML nesting syntax errors: * in man(7) code between .nf and .fi * in mdoc(7) code between .Bd -unfilled and .Ed * in mdoc(7) code between .Ql Xo and .Xc * in mdoc(7) code between .Rs and .Re
Diffstat (limited to 'usr.sbin/nsd/axfr.c')
0 files changed, 0 insertions, 0 deletions