equal
deleted
inserted
replaced
433 else |
433 else |
434 { |
434 { |
435 // Page format is XHTML. This means we want to disable functionality that MCE takes care of, while still retaining |
435 // Page format is XHTML. This means we want to disable functionality that MCE takes care of, while still retaining |
436 // the ability to wikilink, the ability to use images, etc. Basically, RENDER_INLINEONLY disables all behavior in |
436 // the ability to wikilink, the ability to use images, etc. Basically, RENDER_INLINEONLY disables all behavior in |
437 // the rendering engine/Text_Wiki that conflicts with MCE. |
437 // the rendering engine/Text_Wiki that conflicts with MCE. |
438 $text = '?>' . RenderMan::render($text, RENDER_WIKI_DEFAULT | RENDER_INLINEONLY); |
438 $text = '?>' . RenderMan::render($text, RENDER_INLINE); |
439 } |
439 } |
440 } |
440 } |
441 else |
441 else |
442 { |
442 { |
443 $text = '?>' . $text; |
443 $text = '?>' . $text; |