Changeset [42abe0b55972956749d97b9a9a5f12a7ca6c1375] by Jason Garber

July 11th, 2008 @ 08:49 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]

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