Mercurial > hg > soundsoftware-site
diff lib/redmine/wiki_formatting/textile/.svn/text-base/formatter.rb.svn-base @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 94944d00e43c |
children |
line wrap: on
line diff
--- a/lib/redmine/wiki_formatting/textile/.svn/text-base/formatter.rb.svn-base Thu Mar 03 11:42:28 2011 +0000 +++ b/lib/redmine/wiki_formatting/textile/.svn/text-base/formatter.rb.svn-base Mon Jun 06 14:24:13 2011 +0100 @@ -43,7 +43,7 @@ # Patch for RedCloth. Fixed in RedCloth r128 but _why hasn't released it yet. # <a href="http://code.whytheluckystiff.net/redcloth/changeset/128">http://code.whytheluckystiff.net/redcloth/changeset/128</a> def hard_break( text ) - text.gsub!( /(.)\n(?!\n|\Z|>| *([#*=]+(\s|$)|[{|]))/, "\\1<br />" ) if hard_breaks + text.gsub!( /(.)\n(?!\n|\Z| *([#*=]+(\s|$)|[{|]))/, "\\1<br />" ) if hard_breaks end # Patch to add code highlighting support to RedCloth