Do not recognize invalid textile attributes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8902 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
e484eb2dc8
commit
37575f27fe
2 files changed
+4
-4
No files matched your search
+3
-3
@@ -340,9 +340,9 @@ class RedCloth3 < String
|
||||
#
|
||||
A_HLGN = /(?:(?:<>|<|>|\=|[()]+)+)/
|
||||
A_VLGN = /[\-^~]/
|
||||
C_CLAS = '(?:\([^)]+\))'
|
||||
C_LNGE = '(?:\[[^\[\]]+\])'
|
||||
C_STYL = '(?:\{[^}]+\})'
|
||||
C_CLAS = '(?:\([^")]+\))'
|
||||
C_LNGE = '(?:\[[^"\[\]]+\])'
|
||||
C_STYL = '(?:\{[^"}]+\})'
|
||||
S_CSPN = '(?:\\\\\d+)'
|
||||
S_RSPN = '(?:/\d+)'
|
||||
A = "(?:#{A_HLGN}?#{A_VLGN}?|#{A_VLGN}?#{A_HLGN}?)"
|
||||
|
||||
Reference in new issue
Block a user