mirror of
https://github.com/redmine/redmine.git
synced 2025-12-17 05:50:29 +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>'
|
</style>'
|
||||||
|
|
||||||
# Strip {{toc}} tags
|
# 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)
|
writeHTMLCell(w, h, x, y, css_tag + txt, border, ln, fill)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user