Are you ready to switch to HTML parsing permanently?

83.3% 65
1.3% 1
15.4% 12

78 Date 2010-04-14 00:49

Forums / Cotonti / Development / Poll: A global switch to HTML parsing

Are you ready?

Trustmaster
#26262 2010-09-22 00:55
All details are clear by now and this is the next thing I'm going to implement:
  1. Default parsing mode will be HTML. BBcodes will be converted to HTML.
  2. Alternatively, there will be an option when migrating to Siena to keep bbcodes and disable HTML.
  3. There will be only one field to store text, no more page_html or fp_html. The actual sequence will be as this (in pseudocode):
    $text = get_post_contents();
    $text = apply_html_filters($user_group[, $special_location]); // Filter settings are based on user group, there also will be optional sets for special locations
    $text = apply_bbcodes(); // Applies bbcodes over html, if there are any. Good to make shortcuts or special things like [hide]
    $t->assign('SOME_VAR', $text);
  4. HTMLPurifier will be present as a plugin (on by default).
  5. CKEditor will be used as default editor.
May the Source be with you!