diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-30 16:22:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-30 16:22:03 +0000 |
commit | f9f4c363c58d629451c4b9a44815112814c91e0e (patch) | |
tree | 7ee2addae474eb4c48659e3b3571f23629b43419 /regress/mdoc/Ms | |
parent | debd68a8f3b16460c3f97da77580fc510b61fbb7 (diff) | |
download | mandoc-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/Ms')
-rw-r--r-- | regress/mdoc/Ms/font.in | 2 | ||||
-rw-r--r-- | regress/mdoc/Ms/font.out_ascii | 2 | ||||
-rw-r--r-- | regress/mdoc/Ms/font.out_markdown | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/regress/mdoc/Ms/font.in b/regress/mdoc/Ms/font.in index dc841740..24c2c236 100644 --- a/regress/mdoc/Ms/font.in +++ b/regress/mdoc/Ms/font.in @@ -6,5 +6,5 @@ .Nd changing fonts inside the mathematical symbol macro .Sh DESCRIPTION normal text -.Ms bold\\fIemphasis\\fPback | after : punctuation +.Ms bold\\fIemphasis\\fPback | after ":" punctuation "Em" italic trailing text diff --git a/regress/mdoc/Ms/font.out_ascii b/regress/mdoc/Ms/font.out_ascii index 280aa407..50ca3b2a 100644 --- a/regress/mdoc/Ms/font.out_ascii +++ b/regress/mdoc/Ms/font.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE MMss--ffoonntt - changing fonts inside the mathematical symbol macro DDEESSCCRRIIPPTTIIOONN - normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk | aafftteerr: ppuunnccttuuaattiioonn trailing text + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk | aafftteerr: ppuunnccttuuaattiioonn _i_t_a_l_i_c trailing text OpenBSD November 20, 2014 OpenBSD diff --git a/regress/mdoc/Ms/font.out_markdown b/regress/mdoc/Ms/font.out_markdown index 7b04400b..b554083a 100644 --- a/regress/mdoc/Ms/font.out_markdown +++ b/regress/mdoc/Ms/font.out_markdown @@ -7,7 +7,7 @@ MS-FONT(1) - General Commands Manual # DESCRIPTION normal text -**bold*emphasis*back** | **after**: **punctuation** +**bold*emphasis*back** | **after**: **punctuation** *italic* trailing text OpenBSD - November 20, 2014 |