diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-06 07:15:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-06 07:15:55 +0000 |
commit | 09356f4e67bb8b56d324758c35e987daf5895587 (patch) | |
tree | 4df764ae428cdfb96535c8d7b2d531280ff6f72b /lib/redcloth3.rb | |
parent | ea34967e65b24e7a813854905f13130e7195c236 (diff) | |
download | redmine-09356f4e67bb8b56d324758c35e987daf5895587.tar.gz redmine-09356f4e67bb8b56d324758c35e987daf5895587.zip |
Can't apply textile modifiers to 1 non-ASCII character (#19995).
git-svn-id: http://svn.redmine.org/redmine/trunk@14295 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redcloth3.rb')
-rw-r--r-- | lib/redcloth3.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb index 31a558799..0c44346d0 100644 --- a/lib/redcloth3.rb +++ b/lib/redcloth3.rb @@ -384,7 +384,7 @@ class RedCloth3 < String (?!\-\-) (#{QTAGS_JOIN}|) # oqs (#{rcq}) # qtag - (\w|[^\s].*?[^\s]) # content + ([[:word:]]|[^\s].*?[^\s]) # content (?!\-\-) #{rcq} (#{QTAGS_JOIN}|) # oqa @@ -393,7 +393,7 @@ class RedCloth3 < String /(#{rcq}) (#{C}) (?::(\S+))? - (\w|[^\s\-].*?[^\s\-]) + ([[:word:]]|[^\s\-].*?[^\s\-]) #{rcq}/xm end [rc, ht, re, rtype] |