#267 new

h1 or any other tag as the first line in a textile file

Reported by SUDHARSHAN S V | November 4th, 2013 @ 07:59 AM

I noticed something, that is, if the first line in a textile doc is h1. or any other tag other than p. then it is enclosing it in

when html is generated.

for exaample, if the first line in the textile doc is

h1. The red herring story

p. Some text

then the generated html is 

<p>h1. The red herring story</p>
<p>Some text</p>

So to circumvent this issue I am writing the first heading in html itself.

While this is not a great deal breaker, if it is fixed then it will be great. I am bringing it to notice so that others can benefit.


No comments found

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