Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

21 lines
857B

  1. WYSIWYG - What You See Is What You Get
  2. HTML Purifier: A Pretty Good Fit for TinyMCE and FCKeditor
  3. Javascript-based WYSIWYG editors, simply stated, are quite amazing. But I've
  4. always been wary about using them due to security issues: they handle the
  5. client-side magic, but once you've been served a piping hot load of unfiltered
  6. HTML, what should be done then? In some situations, you can serve it uncleaned,
  7. since you only offer these facilities to trusted(?) authors.
  8. Unfortunantely, for blog comments and anonymous input, BBCode, Textile and
  9. other markup languages still reign supreme. Put simply: filtering HTML is
  10. hard work, and these WYSIWYG authors don't offer anything to alleviate that
  11. trouble. Therein lies the solution:
  12. HTML Purifier is perfect for filtering pure-HTML input from WYSIWYG editors.
  13. Enough said.
  14. vim: et sw=4 sts=4