From: Waylan Limberg <way...@gmail.com>
Date: Wed, 1 Jul 2009 11:14:39 -0700 (PDT)
Local: Wed, Jul 1 2009 2:14 pm
Subject: Re: wiki markup pain
On Jun 30, 5:20 am, Johan Sørensen <jo...@johansorensen.com> wrote:
> But you probably know more about Markdown than I do.
I do know that most implementations have a HTML sanitizer built in to
avoid these kinds of problems. In fact, it appears that RDiscount does - which you should be using instead of sanitizing it yourself. I finally looked at the code to see what Gitorious was doing. Now, I'm not all that familiar with ruby and haven't tested this, but
--- app/helpers/pages_helper.rb 2009-06-23 08:54:31.000000000 -0400
def wikize(content)
Notice that I removed the call to `sanitize` (which is not markdown
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||