Changeset 133
- Timestamp:
- 01/20/2007 09:08:47 (22 months ago)
- Files:
-
- 1 modified
-
trunk/lib/redcloth/base.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/redcloth/base.rb
r132 r133 512 512 ## implying an incoming html entity, to be skipped 513 513 514 text.gsub!( /&(?! [#a-z0-9]+;)/i, "x%x%" )514 text.gsub!( /&(?!(?:[a-zA-Z0-9]+|\#[0-9]+|\#x[0-9a-fA-F]+);)/i, "x%x%" ) 515 515 end 516 516