@@ -340,9 +340,9 class RedCloth3 < String | |||
|
340 | 340 | # |
|
341 | 341 | A_HLGN = /(?:(?:<>|<|>|\=|[()]+)+)/ |
|
342 | 342 | A_VLGN = /[\-^~]/ |
|
343 | C_CLAS = '(?:\([^)]+\))' | |
|
344 | C_LNGE = '(?:\[[^\[\]]+\])' | |
|
345 | C_STYL = '(?:\{[^}]+\})' | |
|
343 | C_CLAS = '(?:\([^")]+\))' | |
|
344 | C_LNGE = '(?:\[[^"\[\]]+\])' | |
|
345 | C_STYL = '(?:\{[^"}]+\})' | |
|
346 | 346 | S_CSPN = '(?:\\\\\d+)' |
|
347 | 347 | S_RSPN = '(?:/\d+)' |
|
348 | 348 | A = "(?:#{A_HLGN}?#{A_VLGN}?|#{A_VLGN}?#{A_HLGN}?)" |
@@ -99,7 +99,7 class Redmine::WikiFormatting::TextileFormatterTest < ActionView::TestCase | |||
|
99 | 99 | 'p{color:(red)}. text' => '<p>text</p>', |
|
100 | 100 | 'p{color:red;invalid:blue}. text' => '<p style="color:red;">text</p>', |
|
101 | 101 | 'p{invalid:blue;color:red}. text' => '<p style="color:red;">text</p>', |
|
102 | 'p{color:"}. text' => '<p>text</p>', | |
|
102 | 'p{color:"}. text' => '<p>p{color:"}. text</p>', | |
|
103 | 103 | }, false) |
|
104 | 104 | end |
|
105 | 105 |
General Comments 0
You need to be logged in to leave comments.
Login now