mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°3918 - Fix regression on mentions display introduced by 7af10e51
This commit is contained in:
@@ -100,13 +100,13 @@ class Extension
|
||||
);
|
||||
|
||||
/**
|
||||
* Filter to transform the wiki syntax into HTML
|
||||
* Filter to transform the wiki syntax ONLY into HTML.
|
||||
*
|
||||
* @uses \AttributeText::RenderWikiHtml()
|
||||
* @since 3.0.0
|
||||
*/
|
||||
$oTwigEnv->addFilter(new Twig_SimpleFilter('render_wiki_to_html', function ($sString) {
|
||||
return AttributeText::RenderWikiHtml($sString);
|
||||
return AttributeText::RenderWikiHtml($sString, true /* Important, otherwise hyperlinks will be tranformed as well */);
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user