Skip to content

Commit 9201eb4

Browse files
committed
[css2] Put space after content.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%4053
1 parent bb83202 commit 9201eb4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css2/bin/Attic/addianch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/local/bin/perl
22
# Add index anchors to source file _and_ generate index database
33
# Arnaud Le Hors - lehors@w3.org
4-
# $Id: addianch,v 1.5 1997-08-01 17:03:03 ijacobs Exp $
4+
# $Id: addianch,v 1.6 1997-09-08 14:59:43 ian Exp $
55

66
if (($_ = $ARGV[0], /^-r/) && $ARGV[0]) {
77
shift;
@@ -116,7 +116,7 @@ sub addanchor {
116116
# HACK!!!
117117
# add a non breakable space in the anchor to workaround
118118
# broken browsers which don't support correctly empty anchors
119-
return "$st<a name=\"" . $anchor . "\">&nbsp;</a>$content$et";
119+
return "$st$content<a name=\"" . $anchor . "\">&nbsp;</a>$et";
120120
# if the span tags are to be removed use the following two lines instead
121121
# return "<a name=\"" . $anchor . "\">&nbsp;</a>$content";
122122
}

css2/bin/addianch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/local/bin/perl
22
# Add index anchors to source file _and_ generate index database
33
# Arnaud Le Hors - lehors@w3.org
4-
# $Id: addianch,v 1.5 1997-08-01 17:03:03 ijacobs Exp $
4+
# $Id: addianch,v 1.6 1997-09-08 14:59:43 ian Exp $
55

66
if (($_ = $ARGV[0], /^-r/) && $ARGV[0]) {
77
shift;
@@ -116,7 +116,7 @@ sub addanchor {
116116
# HACK!!!
117117
# add a non breakable space in the anchor to workaround
118118
# broken browsers which don't support correctly empty anchors
119-
return "$st<a name=\"" . $anchor . "\">&nbsp;</a>$content$et";
119+
return "$st$content<a name=\"" . $anchor . "\">&nbsp;</a>$et";
120120
# if the span tags are to be removed use the following two lines instead
121121
# return "<a name=\"" . $anchor . "\">&nbsp;</a>$content";
122122
}

0 commit comments

Comments
 (0)