This commit is contained in:
@@ -456,7 +456,6 @@ class Output
|
||||
|
||||
$syntax = plugin_load('syntax', 'luxtools');
|
||||
$serviceUrl = $syntax ? trim((string)$syntax->getConf('open_service_url')) : '';
|
||||
$serviceToken = $syntax ? trim((string)$syntax->getConf('open_service_token')) : '';
|
||||
|
||||
// Prepare a DokuWiki-style link.
|
||||
// Use the same icon mechanism as normal media links (via $link['class']).
|
||||
@@ -479,7 +478,6 @@ class Output
|
||||
$link['more'] .= ' data-path="' . hsc($path) . '"';
|
||||
if ($conf['relnofollow']) $link['more'] .= ' rel="nofollow"';
|
||||
if ($serviceUrl !== '') $link['more'] .= ' data-service-url="' . hsc($serviceUrl) . '"';
|
||||
if ($serviceToken !== '') $link['more'] .= ' data-service-token="' . hsc($serviceToken) . '"';
|
||||
$renderer->doc .= $renderer->_formatLink($link);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user