#898 ✓resolved
Ronny Hanssen

<li> tag with unmatched parentheses in default content fails

Reported by Ronny Hanssen | January 7th, 2011 @ 10:54 PM | in Hobo 1.3 (Rails 3)

When the default content in a <li>-tag contains unmatched parentheses, i.e. a single ) a compiler error is generated.

To reproduce, make a view-file with:

<li>Testing ) as default content</li>

This should generate something like this:

SyntaxError in xxx#xxx

Showing xxx/app/views/xxx/xxx.dryml where line #xx raised:

compile error
app/views/xxx/xxx.dryml:xx: syntax error, unexpected tIDENTIFIER, expecting '}'
                          Testing ) as default content
                                      ^
app/views/xxx/xxx.dryml:xx: syntax error, unexpected ')', expecting '}'
                        ) ;  safe_concat(%(</li>)) ; ou...
                         ^
app/views/xxx/xxx.dryml:xx: syntax error, unexpected ')', expecting '}'
                        ) ;  safe_concat(%(</li>)) ; ou...
                         ^

This used to work in Hobo 1.0.

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 ยป

Referenced by

Pages