The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Let visitors add codes on their comments (1 post)

  1. shidouhikari
    Posted 6 years ago #

    I've seen a few sites where visitors use < code> and even < pre>.

    I tested it in my site and I'm able to do so in comments, but when visitors are not. I added code and pre into $allowedtags together with lang attribute and now they are able to, but some stuff are still fcked up, as => turns into =>

    How can that be accomplished without removing the security of filtering comments code?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.