#74 ✓resolved
Paweł Gościcki

non-block starts beginning with t eaten

Reported by Paweł Gościcki | October 12th, 2008 @ 02:27 PM | in 4.2.0

Paragraph starting from downcase characters followed by dot and space is eaten up.


>> RedCloth.new("tel. 0 700 123 123").to_html
=> "0 700 123 123"
>> RedCloth.new("telephone. 0 700 123 123").to_html
=> "0 700 123 123"

I'd expect it not to eat up my characters. It should only treat selected characters special (like: p. bq. h1. h2. h3. h4.) and leave others alone.

When the first letter is in uppercase, though, it renders properly:


>> RedCloth.new("Tel. 0 700 123 123").to_html
=> "<p>Tel. 0 700 123 123</p>"

Same goes for content after one newline character:


>> RedCloth.new("Blah.\ntel. 0 700 123 123").to_html
=> "<p>Blah.<br />\ntel. 0 700 123 123</p>"

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

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

People watching this ticket

Tags

Referenced by

Pages