mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 21:40:28 +01:00
Right-aligned TOC tag is displayed in exported PDF if the text formatting setting is Markdown (#32477).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19480 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -93,7 +93,7 @@ module Redmine
|
||||
</style>'
|
||||
|
||||
# Strip {{toc}} tags
|
||||
txt = 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user