gbranden pushed a commit to branch master
in repository groff.

commit 8225abb1c23a5fc8ba02648d2729c2dba17eaa27
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
AuthorDate: Sun Feb 2 06:21:37 2025 -0600

    groff_man_style(7): Tweak example code style.
    
    Make example string definitions more robust by suffixing them with
    comment escape sequences.  This way trailing spaces won't be absorbed
    into the definition itself and cause confusion when interpolated.
---
 tmac/groff_man.7.man.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tmac/groff_man.7.man.in b/tmac/groff_man.7.man.in
index 4742ac654..2945fe314 100644
--- a/tmac/groff_man.7.man.in
+++ b/tmac/groff_man.7.man.in
@@ -4584,12 +4584,12 @@ call as follows.
 .RS
 .EX
 \&.ie \[rs]n(.g \[rs]{\[rs]
-\&.  ds oq \[rs](oq
-\&.  ds cq \[rs](cq
+\&.  ds oq \[rs](oq\[rs]"
+\&.  ds cq \[rs](cq\[rs]"
 \&.\[rs]}
 \&.el \[rs]{\[rs]
-\&.  ds oq \[ga]
-\&.  ds cq \[aq]
+\&.  ds oq \[ga]\[rs]"
+\&.  ds cq \[aq]\[rs]"
 \&.\[rs]}
 .EE
 .RE

_______________________________________________
groff-commit mailing list
groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to