Commit 1fbcede2 authored by Albert Ting's avatar Albert Ting Committed by David Lawrence

Bug 1093868: Markdown text rendering in comments is broken after commit from bug 1059684

r=dkl,a=glob
parent f293fdf2
...@@ -367,6 +367,8 @@ sub get_bug_link { ...@@ -367,6 +367,8 @@ sub get_bug_link {
my $linkified; my $linkified;
$template->process('bug/link.html.tmpl', $template->process('bug/link.html.tmpl',
{ bug => $bug, link_text => $link_text, %$options }, \$linkified); { 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; return $linkified;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment