diff options
author | wl <wl> | 2009-01-02 23:18:43 +0000 |
---|---|---|
committer | wl <wl> | 2009-01-02 23:18:43 +0000 |
commit | 1b628e32fbd8b675ab3e2ce10e434a141222a8e7 (patch) | |
tree | d23fe2470a3d669bef8fa4edb0673e6a3f2b37e1 /tmac/www.tmac | |
parent | bebccb21d150fbb531023ed14ddf80217ce6bc6c (diff) | |
download | groff-1b628e32fbd8b675ab3e2ce10e434a141222a8e7.tar.gz |
* tmac/www.tmac (www->): Handle XHTML.
(HTML</p>): Handle non-HTML devices.
(www:url_check_tag): Avoid warnings.
Diffstat (limited to 'tmac/www.tmac')
-rw-r--r-- | tmac/www.tmac | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tmac/www.tmac b/tmac/www.tmac index 2ca61511..5c6904f5 100644 --- a/tmac/www.tmac +++ b/tmac/www.tmac @@ -53,12 +53,14 @@ HTML always denotes XHTML also. .cp 0 . . -.\" for XHTML, we need `/>' -.ds www-> >\" +.ie r xhtml \ +. ds www-> />\" +.el \ +. ds www-> >\" . .nr www-html 0 .if '\*[.T]'html' \ -. nr www-html 1 +. nr www-html 1 . .\" set up www-image-template . @@ -301,10 +303,12 @@ HTML always denotes XHTML also. .\" Emit an HTML tag after shutting down a (possibly open) paragraph. .\" .de HTML</p> -. if \\n[www-html] \{\ +. ie \\n[www-html] \{\ . \" the `\&' makes the vertical mode leave, so to say . nop \&\X^html</p>:\\$*^ . \} +. el \ +. www:paraspace .. . .\" @@ -373,7 +377,7 @@ HTML always denotes XHTML also. . substring \\$0:tmp 1 . ds \\$0:tmp TAG_\\*[\\$0:tmp]\" . -. ie !'\\*[\\*[\\$0:tmp]]'' \ +. ie d \\*[\\$0:tmp] \ . ds \\$1 \\*[\\*[\\$0:tmp]]\" . el \ . ds \\$1 see below\" |