Here's a proof of concept (monkeypatch):http://gist.github.com/137005

*Keep in mind this is still vulnerable to the issue Nathan explains:
*
On Sat, Jun 27, 2009 at 07:25, Nathan Weizenbaum <[email protected]> wrote:

> Unless you can come up with a way of removing the tags that is guaranteed
> never to produce this sort of change, it's not safe to include it.


Nathan is right. You have to implement the logic on top of my monkeypatch to
*keep* closing tags if the following content is inline tags or text nodes
but should not be nested under the tag in question.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to