Take the 2-minute tour ×
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It's 100% free, no registration required.

Why do some sites/forums use bbcode or another formatting language when they could just allow filtered html?

share|improve this question
add comment

2 Answers 2

up vote 9 down vote accepted

There are a couple possible reasons:

  • Security - Parsing BBCode and turning it into HTML can often be easier than trying to sanitize and secure the HTML. The security risk of missing a vulnerability can be high.
  • Ease of Use - Some formatting languages, like Markdown, are less verbose than HTML. That said, Markdown is also less descriptive than HTML, so there is a trade-off.
share|improve this answer
add comment

When BBCode first came about, there weren't as many nice rich (WYSIWYG) editors as you see today. Early incarnations of these editors merely manipulated the plain text in the edit box that you were typing your post/reply into, adding BBCode as needed.

BBCode is easier for users to understand than HTML, and some power users would actually prefer to hammer out their messages without using toolbars or rich editors...

BBCode is more rigid than HTML, so it is easier to describe a simple markup syntax like BBCode than it is to try to educate a user on what HTML tags (and attributes) are allowed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.