Changeset 128 for trunk/lib/redcloth/base.rb
- Timestamp:
- 05/19/2006 15:52:10 (2 years ago)
- Files:
-
- 1 modified
-
trunk/lib/redcloth/base.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/redcloth/base.rb
r124 r128 392 392 393 393 def hard_break( text ) 394 text.gsub!( /(.)\n(?!\ Z| *([#*=]+(\s|$)|[{|]))/, "\\1<br />" ) if hard_breaks394 text.gsub!( /(.)\n(?!\n|\Z| *([#*=]+(\s|$)|[{|]))/, "\\1<br />" ) if hard_breaks 395 395 end 396 396