#7 ✓resolved

Parentheses improperly recognized as class info

Reported by VirtualFunction | June 26th, 2008 @ 11:42 PM | in 4.0

Attached shows a corner case I discovered where I wanted to illustrate a method call with latex formatting.

I was baffled to why it was not showing more than the trailing semi colon. I later tried running to_html and it became obvious the the brackets are making the scanner see them as white space when there is no white space in the formatted inline around them.

As stated, this seems to be a bit of a corner case in the sense it requires a number of conditions to be meet to trigger this. However, for programmers who are using RedCloth snippets from C-like language, I do think this will make this issue more apparent.

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


Referenced by