Commit b8e1cfa2 authored by Jonny Bradley's avatar Jonny Bradley
Browse files

[FIX] markdown: Suppress icon rendering in tiki syntax when converting to...

[FIX] markdown: Suppress icon rendering in tiki syntax when converting to markdown - hopefully without unintended side effects
parent f12082fe
Pipeline #757229862 passed with stages
in 8 minutes and 7 seconds
......@@ -1525,7 +1525,11 @@ class EditLib
$syntaxPluginResult = $wikiParserParsable->guess_syntax($data);
$source_syntax = $syntaxPluginResult['syntax'];
$wikiParserParsable->stripPlugins('code');
$html = $wikiParserParsable->parse(['noparseplugins' => true, 'noparseargvariables' => true]);
$html = $wikiParserParsable->parse([
'noparseplugins' => true,
'noparseargvariables' => true,
'suppress_icons' => true,
]);
$prefs['wiki_heading_links'] = $old_pref;
......
Supports Markdown
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