diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/wiki_formatting/textile/redcloth3.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/wiki_formatting/textile/redcloth3.rb b/lib/redmine/wiki_formatting/textile/redcloth3.rb index 77bfa0ab6..406fca08d 100644 --- a/lib/redmine/wiki_formatting/textile/redcloth3.rb +++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb @@ -558,7 +558,7 @@ class RedCloth3 < String # Parses Textile lists and generates HTML def block_textile_lists( text ) text.gsub!( LISTS_RE ) do |match| - lines = match.split( /\n/ ) + lines = match.split( "\n" ) last_line = -1 depth = [] lines.each_with_index do |line, line_id| @@ -603,7 +603,7 @@ class RedCloth3 < String def block_textile_quotes( text ) text.gsub!( QUOTES_RE ) do |match| - lines = match.split( /\n/ ) + lines = match.split( "\n" ) quotes = +'' indent = 0 lines.each do |line| |