gbranden pushed a commit to branch master
in repository groff.

commit bc4741c90a90b1495811680c479566fcc350134e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Jan 16 11:24:14 2023 -0600

    [mm]: Preserve leading spaces in .AST argument.
    
    * contrib/mm/m.tmac (AST): Preserve any user-specified leading spaces in
      argument.
    
    The package as a whole needs a review for this issue; it is ubiquitous.
---
 contrib/mm/ChangeLog | 5 +++++
 contrib/mm/m.tmac    | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index faa3e036e..7626f3069 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-16  G. Branden Robinson <[email protected]>
+
+       * m.tmac (AST): Preserve any user-specified leading spaces in
+       argument.
+
 2023-01-06  G. Branden Robinson <[email protected]>
 
        * m.tmac (P): Warn if argument is non-numeric, and discard it.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index b849f750c..75d32229d 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -3081,7 +3081,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 .if !''\\$1' .ds cov*firm \\$1
 ..
 .de AST
-.ds cov*abs-name \\$1
+.ds cov*abs-name "\\$1\"
 ..
 .de AS
 .pg@disable-top-trap

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to