On Thu, Jan 15, 2009 at 9:15 PM, Waylan Limberg <[email protected]> wrote:
> Anyway, you are not gong to like this but I found a really obscure
> bug. I have tested it on Discount directly and can't reproduce it
> their, so either its a bug with RDiscount or your code. I had a
> strange problem with one of my documents where a chunk of text was
> simply missing from the middle when rendered.
>
> It appears the problem is related to < and > signs in code blocks.
> Perhaps they are being misinterpreted as html by the parser or
> something. I have provided the most basic example of the problem I
> could find here:
>
> http://gitorious.org/projects/python-markdown/pages/Sandbox
>
> If you look at the markdown source, that's obviously not correct. I
> tried other variations as can be seen in the page history, but this is
> the only one that fails.

Thanks.

It actually appears to be rails' html sanitizer that does it. I run it
over the text before it's mardownized to strip <script> tags etc.

> --
> ----
> Waylan Limberg
> [email protected]

JS

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" 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/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to