mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-23 08:51:13 +00:00
Fix RDMwriteFormattedCell destroying an argument (#26561).
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17975 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1035b577a9
commit
978bdba9ee
@ -1,5 +1,5 @@
|
|||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
# frozen_string_literal: false
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#
|
#
|
||||||
# Redmine - project management software
|
# Redmine - project management software
|
||||||
@ -93,7 +93,7 @@ module Redmine
|
|||||||
</style>'
|
</style>'
|
||||||
|
|
||||||
# Strip {{toc}} tags
|
# 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)
|
writeHTMLCell(w, h, x, y, css_tag + txt, border, ln, fill)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user