]> git.cameronkatri.com Git - mandoc.git/commit
In quoted macro arguments, double quotes can be quoted by doubling them.
authorIngo Schwarze <schwarze@openbsd.org>
Sun, 15 Dec 2013 23:56:42 +0000 (23:56 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sun, 15 Dec 2013 23:56:42 +0000 (23:56 +0000)
commitdf4b4fe716941b7152aa9d779f5c2e71c3acfaf7
tree7f7f8cbcb5e80d482d4001b7cbc6983b97a3691e
parent27cd03954b92e571b0ffcfd50f45cbc141a10bb7
In quoted macro arguments, double quotes can be quoted by doubling them.
For a long time, we handle this in roff(7) and man(7) macros.
Now add correct handling for the mdoc(7) case, too.

Closely based on a patch by Tsugutomo dot ENAMI at jp dot sony dot com,
see http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48438
received via Thomas Klausner (wiz@), slightly tweaked by me.
TODO
mdoc_argv.c