summaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-06-18 00:25:15 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-18 00:30:30 +0200
commita43aa1bc79b99321e8569e644008907d5841e334 (patch)
tree3e97a1d3fde876b9bdc84903e6f6fc7f3bf678fa /test-suite
parent5fbf5c10fc3054d788a006f619105a8c60741319 (diff)
downloadguile-a43aa1bc79b99321e8569e644008907d5841e334.tar.gz
texinfo: Add basic support for @w{...}.
* module/texinfo.scm (texi-command-specs): Add 'w'. (space-significant?): Add it. * module/texinfo/html.scm (tag-replacements): Add 'w'. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo"): Add test.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/tests/texinfo.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/test-suite/tests/texinfo.test b/test-suite/tests/texinfo.test
index 6f7d4c7d8..416fd286c 100644
--- a/test-suite/tests/texinfo.test
+++ b/test-suite/tests/texinfo.test
@@ -1,6 +1,6 @@
;;;; texinfo.test -*- scheme -*-
;;;;
-;;;; Copyright (C) 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
+;;;; Copyright (C) 2010, 2011, 2012, 2013, 2014, 2020 Free Software Foundation, Inc.
;;;; Copyright (C) 2001,2002 Oleg Kiselyov <oleg at pobox dot com>
;;;;
;;;; This library is free software; you can redistribute it and/or
@@ -221,6 +221,8 @@
'((para (code "abc " (code)))))
(test-body "@code{ arg }"
'((para (code "arg"))))
+ (test-body "@w{ arg with spaces }"
+ '((para (w " arg with spaces "))))
(test-body "@acronym{GNU}"
'((para (acronym (% (acronym "GNU"))))))