Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorphaded
    • CommentTimeSep 8th 2006
     # 1
    Is there a way to make it so that Vanilla will ignore certain HTML tags but leave others alone? My reason for asking is that a few of our more...enterprising, shall we say, users have figured out ways to break entire discussions by the use of the 'div' tag. I don't want to completely disable the use of HTML formatting, but right now, that's my only way of stopping it.

    Any thoughts?
    • CommentAuthorSirNot
    • CommentTimeSep 8th 2006
     # 2
    well there is an option in the html formatter to 'police' tags (ie. make sure there are no stray opening or closing ones), but if you would rather restrict the use of tags then you could add the tags you don't want users to use to the $Html_DisallowedTags array. Alternately, you could use the kses-based formatter, which gives you much more control over what users can use.
    •  
      CommentAuthorphaded
    • CommentTimeSep 8th 2006
     # 3
    I installed the kses formatter, and while that solves the problem of not being able to use certain tags, it also kills any line breaks. Feature or bug?
    • CommentAuthormary
    • CommentTimeSep 10th 2006
     # 4
    Neither. It doesn't automatically convert newlines to line breaks.
Add your comments
    Username Password
  • Format comments as