diff options
author | Werner LEMBERG <wl@gnu.org> | 2008-12-30 09:05:57 +0000 |
---|---|---|
committer | Werner LEMBERG <wl@gnu.org> | 2008-12-30 09:05:57 +0000 |
commit | f4127d15b3be663e5dcc0528a7dab348622d86a6 (patch) | |
tree | e8fea04b602edd617a8cd627ea06e3213fce61dd | |
parent | f4a110d13874974004ce908382c7fb91a5c9cedc (diff) | |
download | groff-git-f4127d15b3be663e5dcc0528a7dab348622d86a6.tar.gz |
Fix more quoting issues.
* tmac/www.tmac (BCL, BGIMG, PIMG, MPIMG, LNS): For the sake of
XHTML, quote more arguments.
(IMG): Fix quoting.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | tmac/www.tmac | 33 |
2 files changed, 25 insertions, 16 deletions
@@ -1,5 +1,13 @@ 2008-12-30 Werner LEMBERG <wl@gnu.org> + Fix more quoting issues. + + * tmac/www.tmac (BCL, BGIMG, PIMG, MPIMG, LNS): For the sake of + XHTML, quote more arguments. + (IMG): Fix quoting. + +2008-12-30 Werner LEMBERG <wl@gnu.org> + Fix quoting issues in www.tmac. * tmac/www.tmac (www:url_breaks_splitted): Renamed to... diff --git a/tmac/www.tmac b/tmac/www.tmac index 6cab8bcc9..de22f486b 100644 --- a/tmac/www.tmac +++ b/tmac/www.tmac @@ -343,18 +343,18 @@ HTML always denotes XHTML also. .\" BCL foreground background active not-visited visited .\" .de BCL -. HTML <body text=\\$1 \ - bgcolor=\\$2 \ - link=\\$3 \ - alink=\\$4 \ - vlink=\\$5> +. HTML <body "text=""\\$1""" \ + "bgcolor=""\\$2""" \ + "link=""\\$3""" \ + "alink=""\\$4""" \ + "vlink=""\\$5"">" .. . .\" -------------------------------------------------------------------- .\" BGIMG imagefile .\" .de BGIMG -. HTML <body background=\\$1> +. HTML <body "background=""\\$1"">" .. . .\" www:url_check_tag str @@ -540,9 +540,10 @@ HTML always denotes XHTML also. . nr www-height \\n[www-width] . if !'\\$4'' \ . nr www-height \\$4 -. HTML <img src="\\$1" alt="Image \\$1" \ - "width=""\\n[www-width]""" \ - "height=""\\n[www-height]""\\*[www->]" +. HTML <img "src=""\\$1""" \ + "alt=""Image \\$1""" \ + "width=""\\n[www-width]""" \ + "height=""\\n[www-height]""\\*[www->]" . \} . el \ . nop \\*[www:open]\f[\\*[www:fontstyle]]\\$1\f[]\\*[www:close] @@ -575,11 +576,11 @@ HTML always denotes XHTML also. . shift . . ie \\n[www-html] \{\ -. ds www-htmlalign align=center\" +. ds www-htmlalign align="center"\" . if '\\*[www-pic-align]'-R' \ -. ds www-htmlalign align=right\" +. ds www-htmlalign align="right"\" . if '\\*[www-pic-align]'-L' \ -. ds www-htmlalign align=left\" +. ds www-htmlalign align="left"\" . nr www-width 0 . nr www-height 0 . if !'\\$2'' \ @@ -798,13 +799,13 @@ HTML always denotes XHTML also. . HTML <img "src=""\\$1""" \ "alt=""Image \\$1""" \ "hspace=""\\n[www-htmlimage-gap]""" \ - align=right \ + "align=""right""" \ "\\*[www-size-specs]\\*[www->]" . el \ . HTML <img "src=""\\$1""" \ "alt=""Image \\$1""" \ "hspace=""\\n[www-htmlimage-gap]""" \ - align=left \ + "align=""left""" \ "\\*[www-size-specs]\\*[www->]" . \} . el \{\ @@ -1444,11 +1445,11 @@ HTML always denotes XHTML also. .\" LNS - left navigation start .\" .de LNS -. HTML</p> <table><tr><td valign=top \ +. HTML</p> <table><tr><td "valign=""top""" \ "width=""\\n[www-nav-width-left]%""" \ "bgcolor=""\\*[www-nav-colour]"">" . LK -. HTML</p> </td><td valign=top \ +. HTML</p> </td><td "valign=""top""" \ "width=""\\n[www-nav-width-right]%"">" . nr SH-open 1 .. |