summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bd/blank.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-08-15 18:12:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-08-15 18:12:30 +0000
commit6ecd9c5caba944d910343802c058940234492e5a (patch)
tree6fe94640b4da8a1edda86aa430d5214b2eb33c59 /regress/mdoc/Bd/blank.out_ascii
parentffa876e5886e09f94c3fe78fbef3cc7ebcd8a611 (diff)
downloadmandoc-6ecd9c5caba944d910343802c058940234492e5a.tar.gz
Distinguish between escape sequences that produce no output
whatsoever (for example \fR) and escape sequences that produce invisible zero-width output (for example \&). No, i'm not joking, groff does make that distinction, and it has consequences in some situations, for example for vertical spacing in no-fill mode. Heirloom and Plan 9 behaviour is subtly different, but in case of doubt, we want to follow groff. While this fixes the behaviour for the majority of escape sequences, in particular for those most likely to occur in practice, it is not perfect yet because some of the more exotic ESCAPE_IGNORE sequences are actually of the "no output whatsoever" type but treated as "invisible zero-width" for now. With the new ASCII_NBRZW mechanism in place, switching them over one by one when the need arises will no longer be very difficult.
Diffstat (limited to 'regress/mdoc/Bd/blank.out_ascii')
-rw-r--r--regress/mdoc/Bd/blank.out_ascii9
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/mdoc/Bd/blank.out_ascii b/regress/mdoc/Bd/blank.out_ascii
index 116063cd..805cfadf 100644
--- a/regress/mdoc/Bd/blank.out_ascii
+++ b/regress/mdoc/Bd/blank.out_ascii
@@ -12,6 +12,13 @@ DDEESSCCRRIIPPTTIIOONN
line containing space tab space:
+ line containing a zero-width space:
+
+ line containing an invalid numbered character escape:
+
+ line containing an invalid named character escape:
+
+ line containing a font escape:
line starting with a blank character:
x
line starting with two blank characters:
@@ -26,4 +33,4 @@ DDEESSCCRRIIPPTTIIOONN
An empty one-line literal display:
end of test document
-OpenBSD July 4, 2017 OpenBSD
+OpenBSD August 15, 2022 OpenBSD