
Attributes can have uppercased values
Reported by Nando Vieira | January 6th, 2010 @ 03:03 PM
If you try to use a uppercased value in class or id attributes, the whole thing is ignored:
RedCloth.new("p(#Foo). bar").to_html
#=> <p>p(#Foo). bar</p>
RedCloth.new("p(Foo). bar").to_html
#=> <p>p(Foo). bar</p>
This also affects custom helpers, as you can do something like
figure(Some image description). image.jpg
.
Comments and changes to this ticket
-
Jason Garber March 1st, 2010 @ 09:07 AM
- State changed from new to resolved
(from [26c16ff317bb7b104aa4fa9b83c99a99b2cfe834]) Allow uppercase letters in ID attribute even though it's invalid. [#181 state:resolved] http://github.com/jgarber/redcloth/commit/26c16ff317bb7b104aa4fa9b8...
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.
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
People watching this ticket
Referenced by
-
181 Attributes can have uppercased values (from [26c16ff317bb7b104aa4fa9b83c99a99b2cfe834]) Allow u...