HTML or Alternate markup for wiki site?

Posted by at on Stack Overflow See other posts from Stack Overflow or by at
Published on 2010-12-24T01:32:44Z Indexed on 2011/01/04 3:53 UTC
Read the original article Hit count: 332

In choosing an editor for my wiki-like site, I'm debating whether to allow HTML or a custom alternate markup (maybe like wikipedia/wikimedia's or BBCode).

HTML benefits:

  • Easy for users to deal with (copying and pasting, learning)
  • Somewhat future proof
  • Many more editing tools available, usually WYSIWYG too

Alternate markup benefits:

  • On the server side I don't have to worry about parsing malicious javascript or styles or HTML that I don't allow
  • Can be easy to learn
  • Can be easier to decipher if not HTML-savvy

Am I missing something, what's the best solution?

© Stack Overflow or respective owner

Related posts about wiki

Related posts about html-parsing