Active
Project:
DruTeX
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2011 at 15:09 UTC
Updated:
8 Feb 2011 at 15:09 UTC
Since some rich text editors like tinyMCE strip out all non-valid HTML, is removed. It's pretty trivial to also support [equation] with the same options.
Change drutex_reder.inc line 74 to:
'pattern' => '@[\[<]equation( [^>]*)?[>\]](.+?)[\[<]/equation[>\]]@se',
in other words, replace the < and > with [\[<] and [\]>]