]> source.dussan.org Git - redmine.git/commitdiff
Revert the change made in error in r22197 (#38435).
authorGo MAEDA <maeda@farend.jp>
Sun, 16 Apr 2023 08:31:50 +0000 (08:31 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 16 Apr 2023 08:31:50 +0000 (08:31 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22198 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/wiki_formatting/textile/redcloth3.rb

index e93d165518e0282c54178ce5edc430a065f085cf..406fca08dd25971e3e3de83db41e410b4c8c6cc5 100644 (file)
@@ -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|<|$)'