Changeset [b8bc58d842e4fc7cfee21a43168077bbef827c3f] by Jason Garber

July 11th, 2008 @ 08:27 AM

Strip carriage returns and deal only with linefeeds

Carriage returns before linefeeds are a problem. The easiest solution is to strip them out before parsing. RedCloth 3 doesn't preserve them either, so it must be okay with users. Plus, it makes the output more predictable and standardized.

[#11 state:resolved]

[#14 state:resolved]

http://github.com/jgarber/redclo...

Committed by Jason Garber

  • M ext/redcloth_scan/redcloth_common.rl
  • M ext/redcloth_scan/redcloth_inline.rl
  • M ext/redcloth_scan/redcloth_scan.rl
  • M test/table.yml
  • M test/test_parser.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins