Differences From Artifact [5f9337c020]:

To Artifact [3482f439eb]:


189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
    }

    return implode(' ', $out);
}

function tpl_format_wiki($str)
{
    $str = Utils::htmlLinksOnUrls($str);
    $str = Utils::htmlSpip($str);
    $str = Utils::htmlGarbage2xhtml($str);
    return $str;
}

function tpl_liens_wiki($str, $prefix)
{
    return preg_replace_callback('!<a href="([^/.:@]+)">!i', function ($matches) use ($prefix) {
        return '<a href="' . $prefix . Wiki::transformTitleToURI($matches[1]) . '">';
    }, $str);







<
<
<
|







189
190
191
192
193
194
195



196
197
198
199
200
201
202
203
    }

    return implode(' ', $out);
}

function tpl_format_wiki($str)
{



    return Squelette_Filtres::formatter_texte($str);
}

function tpl_liens_wiki($str, $prefix)
{
    return preg_replace_callback('!<a href="([^/.:@]+)">!i', function ($matches) use ($prefix) {
        return '<a href="' . $prefix . Wiki::transformTitleToURI($matches[1]) . '">';
    }, $str);