Remove auth token
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled

This commit is contained in:
2026-01-06 21:57:55 +01:00
parent 681eadaed0
commit f86dce6ec3
8 changed files with 4 additions and 20 deletions

View File

@@ -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);
}