summaryrefslogtreecommitdiff
path: root/tmac/s.tmac
diff options
context:
space:
mode:
authorwl <wl>2004-12-07 21:23:55 +0000
committerwl <wl>2004-12-07 21:23:55 +0000
commit280cf78e68c31dda1f2084a8a4e7e59a670d570c (patch)
treeef2427eb531fda4b31ce73646df37675a0059253 /tmac/s.tmac
parentbc05d84241ddafc6edb7f0946ee30b0fe54a5ca4 (diff)
downloadgroff-280cf78e68c31dda1f2084a8a4e7e59a670d570c.tar.gz
Fix a bug with title handling in HTML.
* src/devices/grohtml/post-html.cpp (text_glob::is_nf, text_glob::is_fi, text_glob::is_ce): Use strlen to compute string length. (html_printer::handle_tag_within_title): New function. (html_printer::do_title): Use it. * tmac/s.tmac (TL): Don't set `need_eo_tl'. (cov*tl-au-print): Emit `.eo.tl' tag.
Diffstat (limited to 'tmac/s.tmac')
-rw-r--r--tmac/s.tmac6
1 files changed, 4 insertions, 2 deletions
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 4fb432aa..33b60c36 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -179,7 +179,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
.ll (u;\\n[LL]*5/6)
.nr cov*n-au 0
.HTML-TAG-NS ".tl"
-.nr need_eo_tl 1
..
.de @AU
.par@reset
@@ -381,7 +380,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
.rs
.sp 3
.ce 9999
-.if d cov*tl-div .cov*tl-div
+.if d cov*tl-div \{\
+. cov*tl-div
+. HTML-TAG-NS ".eo.tl"
+.\}
.nr cov*i 1
.nr cov*sp 1v
.while \\n[cov*i]<=\\n[cov*n-au] \{\