Commit ec8a0fd9 authored by maeda's avatar maeda

Fix RDMwriteFormattedCell destroying an argument (#26561).

Patch by Pavel Rosický.


git-svn-id: https://svn.redmine.org/redmine/trunk@17975 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent d5e810a7
# encoding: utf-8
# frozen_string_literal: false
# frozen_string_literal: true
#
# Redmine - project management software
......@@ -93,7 +93,7 @@ module Redmine
</style>'
# Strip {{toc}} tags
txt.gsub!(/<p>\{\{([<>]?)toc\}\}<\/p>/i, '')
txt = txt.gsub(/<p>\{\{([<>]?)toc\}\}<\/p>/i, '')
writeHTMLCell(w, h, x, y, css_tag + txt, border, ln, fill)
end
......
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