Bug 1093868: Markdown text rendering in comments is broken after commit from bug 1059684
r=dkl,a=glob git-svn-id: svn://10.0.0.236/trunk@265896 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
080cbb9957
commit
48c31310f3
@ -1 +1 @@
|
||||
9350
|
||||
9351
|
||||
@ -1 +1 @@
|
||||
f293fdf225ed0745de63f9f205407ccc2b8a44d4
|
||||
1fbcede24288ad8abdeaf49255e5c0996ac2df4c
|
||||
@ -367,6 +367,8 @@ sub get_bug_link {
|
||||
my $linkified;
|
||||
$template->process('bug/link.html.tmpl',
|
||||
{ bug => $bug, link_text => $link_text, %$options }, \$linkified);
|
||||
$linkified =~ s/\n//g; # strip newlines to prevent markdown conflicts
|
||||
$linkified =~ s/\|/|/g; # escape '|', it confuses markdown tables
|
||||
return $linkified;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user