TEXT   56
WYSIWYG What You See Is What You Get
Guest on 30th May 2022 01:47:29 AM


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

Raw Paste

Login or Register to edit or fork this paste. It's free.