diff options
author | David Lawrence <dkl@mozilla.com> | 2014-10-28 04:01:01 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-10-28 04:01:01 +0100 |
commit | 1f5404213d4b93ef573e99112536ed5af6643770 (patch) | |
tree | 754731f5b78b85a71a35b700bfb28ce020342c3d /process_bug.cgi | |
parent | 2fbc1045f5b8e82d9a68328c35ba07d70d9d1877 (diff) | |
download | bugzilla-1f5404213d4b93ef573e99112536ed5af6643770.tar.gz bugzilla-1f5404213d4b93ef573e99112536ed5af6643770.tar.xz |
Bug 1059684: markdown text should not be rendered within a <pre> tag
r=glob,a=glob
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index b47a3b1cf..b3d979960 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -233,8 +233,8 @@ if (should_set('keywords')) { $set_all_fields{keywords}->{$action} = $cgi->param('keywords'); } if (should_set('comment')) { - my $is_markdown = ($user->settings->{use_markdown}->{is_enabled} && - $cgi->param('use_markdown')) ? 1 : 0; + my $is_markdown = ($user->use_markdown + && $cgi->param('use_markdown') eq '1') ? 1 : 0; $set_all_fields{comment} = { body => scalar $cgi->param('comment'), |