summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/In
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-30 16:22:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-30 16:22:03 +0000
commitf9f4c363c58d629451c4b9a44815112814c91e0e (patch)
tree7ee2addae474eb4c48659e3b3571f23629b43419 /regress/mdoc/In
parentdebd68a8f3b16460c3f97da77580fc510b61fbb7 (diff)
downloadmandoc-f9f4c363c58d629451c4b9a44815112814c91e0e.tar.gz
Macro argument quoting does not prevent recognition of punctuation
and of called macros. This bug affects almost all macros, and fixing it simplifies the code. It is amazing that the bogus ARGS_QWORD feature got implemented in the first place, and then carrier along for more than eight years without anybody ever noticing that it was pointless. Reported by Leah Neukirchen <leah at vuxu dot org>, found on Void Linux.
Diffstat (limited to 'regress/mdoc/In')
-rw-r--r--regress/mdoc/In/font.in2
-rw-r--r--regress/mdoc/In/font.out_ascii2
-rw-r--r--regress/mdoc/In/font.out_markdown2
3 files changed, 3 insertions, 3 deletions
diff --git a/regress/mdoc/In/font.in b/regress/mdoc/In/font.in
index e24ab18d..9399325b 100644
--- a/regress/mdoc/In/font.in
+++ b/regress/mdoc/In/font.in
@@ -6,5 +6,5 @@
.Nd changing the font inside the include macro
.Sh DESCRIPTION
normal text
-.In prefix\\fBheader\\fPsuffix
+.In prefix\\fBheader\\fPsuffix | after ":" punctuation "Sy" bold
trailing text
diff --git a/regress/mdoc/In/font.out_ascii b/regress/mdoc/In/font.out_ascii
index 7d1948e4..d868a8cd 100644
--- a/regress/mdoc/In/font.out_ascii
+++ b/regress/mdoc/In/font.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
IInn--ffoonntt - changing the font inside the include macro
DDEESSCCRRIIPPTTIIOONN
- normal text <_p_r_e_f_i_xhheeaaddeerr_s_u_f_f_i_x> trailing text
+ normal text <_p_r_e_f_i_xhheeaaddeerr_s_u_f_f_i_x> | after: punctuation bboolldd trailing text
OpenBSD July 9, 2012 OpenBSD
diff --git a/regress/mdoc/In/font.out_markdown b/regress/mdoc/In/font.out_markdown
index e007a019..4b99b61e 100644
--- a/regress/mdoc/In/font.out_markdown
+++ b/regress/mdoc/In/font.out_markdown
@@ -7,7 +7,7 @@ IN-FONT(2) - System Calls Manual
# DESCRIPTION
normal text
-&lt;*prefix**header**suffix*>
+&lt;*prefix**header**suffix*> | after: punctuation **bold**
trailing text
OpenBSD - July 9, 2012