Disabling certain stuff for my forum
contact at alanhogan.com
Sun Aug 12 13:28:31 EDT 2012
1. You can always take the result and process the DOM. E.g., use something like Nokogiri / hpricot to convert <h1>, <h2> nodes (etc) to <p> or even <p><b></b></p>.
2. You can simply use CSS to limit the size of text in the comment fields
3. Please note that you must sanitize Markdown input (or disable the raw HTML feature) if you will be accepting user-generated Markdown, for security reasons. There is a common set of XSS inputs to test against.
On Aug 12, 2012, at 10:03 AM, Tony <abletony84 at gmail.com> wrote:
> Is it possible to disable stuff such as headings? I want to use Markdown for my forum but I don't want to allow headings as I believe some users will exploit them to gain more attention. Have anybody been in a similar situation before? Let me know what you did. Thanks.
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
Sent via virtual pigeon
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Markdown-Discuss