Add quotes around the href attributes.
Patch by fu.
diffs (27 lines):
diff -r b9cfb92e2c87 -r 60fdad0909b8 htdocs/talkpost.bml
--- a/htdocs/talkpost.bml Tue May 11 21:39:55 2010 -0500
+++ b/htdocs/talkpost.bml Wed May 12 23:59:48 2010 +0000
@@ -374,19 +374,19 @@ body<=
$ret .= "<br /><div id='comment-interaction-links'>";
my $reply_url = LJ::Talk::talkargs( $parentcomment->reply_url,
LJ::viewing_style_args( %GET ) );
- $ret .= "(<a href=". $reply_url . ">" . $ML{'talk.replytothis'} .
"</a>)";
+ $ret .= "(<a href='". $reply_url . "'>" . $ML{'talk.replytothis'} .
"</a>)";
# only link to thread from start / parent comment if this isn't a
top-level comment
if ( $parentcomment->parent ) {
my $threadstart_url = $parentcomment->threadroot_url(
LJ::viewing_style_args( %GET ) );
- $ret .= " (<a href=". $threadstart_url . ">" .
$ML{'talk.threadrootlink'} . "</a>)";
+ $ret .= " (<a href='". $threadstart_url . "'>" .
$ML{'talk.threadrootlink'} . "</a>)";
my $parent_url = $parentcomment->parent_url(
LJ::viewing_style_args( %GET ) );
- $ret .= " (<a href=". $parent_url . ">" . $ML{'talk.parentlink'} .
"</a>)";
+ $ret .= " (<a href='". $parent_url . "'>" . $ML{'talk.parentlink'}
. "</a>)";
}
my $thread_url = $parentcomment->url( LJ::viewing_style_args( %GET ) );
- $ret .= " (<a href=". $thread_url . ">" . $ML{'talk.threadlink'} .
"</a>)";
+ $ret .= " (<a href='". $thread_url . "'>" . $ML{'talk.threadlink'} .
"</a>)";
$ret .= "</div>";
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog