Commit 7955bcf7 authored by Pietro Saccardi's avatar Pietro Saccardi

Bugfix, render mode is xhtml.

parent 88e5deac
......@@ -95,7 +95,7 @@ class syntax_plugin_ifauthex extends DokuWiki_Syntax_Plugin
*/
public function render($mode, Doku_Renderer $renderer, $data)
{
if ($mode !== 'xhtml') {
if ($mode == 'xhtml') {
list($state, $expr) = $data;
switch ($state) {
case DOKU_LEXER_ENTER:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment