summaryrefslogtreecommitdiffstats
path: root/lib/redcloth3.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-18 22:57:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-18 22:57:55 +0000
commitc686912de57c08937d12bda2fc20f51ec6aff59e (patch)
treea9da6820f396a58886e24a56e3b10b5fead526bd /lib/redcloth3.rb
parentc9dd7dbe1594c3b861531823a696efe48caa4a44 (diff)
downloadredmine-c686912de57c08937d12bda2fc20f51ec6aff59e.tar.gz
redmine-c686912de57c08937d12bda2fc20f51ec6aff59e.zip
#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
Diffstat (limited to 'lib/redcloth3.rb')
-rw-r--r--lib/redcloth3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb
index 032e8bd67..0386589f6 100644
--- a/lib/redcloth3.rb
+++ b/lib/redcloth3.rb
@@ -534,7 +534,7 @@ class RedCloth3 < String
ctyp = 'd'
ctyp = 'h' if cell =~ /^_/
- catts = ''
+ catts = nil
catts, cell = pba( $1, 'td' ), $2 if cell =~ /^(_?#{S}#{A}#{C}\. ?)(.*)/
catts = shelve( catts ) if catts