CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/10/13 11:16:25
Modified files:
usr.bin/mandoc : mandoc.c
regress/usr.bin/mandoc/char/unicode: man.in man.out_utf8 mdoc.in
mdoc.out_utf8
Log message:
Stricter syntax checking of Unicode character names:
Require exactly 4, 5 or 6 hex digits and allow nothing else.
This avoids mishandling stuff like \[ua] and \C'uA' as Unicode
and also fixes underlining in eqn(7) -Thtml output which uses \[ul].
Problem found and semantics suggested by kristaps@.