1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

#shelve should not be called if cell doesn't match attributes regexp (#18883).

git-svn-id: http://svn.redmine.org/redmine/trunk@13913 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-01-18 22:57:55 +00:00
parent c9dd7dbe15
commit c686912de5

View File

@ -534,7 +534,7 @@ class RedCloth3 < String
ctyp = 'd' ctyp = 'd'
ctyp = 'h' if cell =~ /^_/ ctyp = 'h' if cell =~ /^_/
catts = '' catts = nil
catts, cell = pba( $1, 'td' ), $2 if cell =~ /^(_?#{S}#{A}#{C}\. ?)(.*)/ catts, cell = pba( $1, 'td' ), $2 if cell =~ /^(_?#{S}#{A}#{C}\. ?)(.*)/
catts = shelve( catts ) if catts catts = shelve( catts ) if catts