diff options
author | Go MAEDA <maeda@farend.jp> | 2023-04-16 08:31:50 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-04-16 08:31:50 +0000 |
commit | 95f3b5cf3844433ab860d32a1e1fbee341c51392 (patch) | |
tree | 9b4c66c1bcda3b6a6bd7c3c5f8867c0053debaec | |
parent | 0f6507a607c10fbc971f4bb148594cb0de5c2e71 (diff) | |
download | redmine-95f3b5cf3844433ab860d32a1e1fbee341c51392.tar.gz redmine-95f3b5cf3844433ab860d32a1e1fbee341c51392.zip |
Revert the change made in error in r22197 (#38435).
git-svn-id: https://svn.redmine.org/redmine/trunk@22198 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redmine/wiki_formatting/textile/redcloth3.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/textile/redcloth3.rb b/lib/redmine/wiki_formatting/textile/redcloth3.rb index e93d16551..406fca08d 100644 --- a/lib/redmine/wiki_formatting/textile/redcloth3.rb +++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb @@ -348,7 +348,7 @@ class RedCloth3 < String S = "(?:#{S_CSPN}?#{S_RSPN}|#{S_RSPN}?#{S_CSPN}?)" C = "(?:#{C_CLAS}?#{C_STYL}?#{C_LNGE}?|#{C_STYL}?#{C_LNGE}?#{C_CLAS}?|#{C_LNGE}?#{C_STYL}?#{C_CLAS}?)" # PUNCT = Regexp::quote( '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~' ) - PUNCT = Regexp::quote( '!"#$%&\'*+,-./:;=?@\\^_`*~' ) + PUNCT = Regexp::quote( '!"#$%&\'*+,-./:;=?@\\^_`|~' ) PUNCT_NOQ = Regexp::quote( '!"#$&\',./:;=?@\\`|' ) PUNCT_Q = Regexp::quote( '*-_+^~%' ) HYPERLINK = '(\S+?)([^\w\s/;=\?]*?)(?=\s|<|$)' |