Fix indentation

This commit is contained in:
Nik 2021-02-18 06:41:03 +01:00
parent 0ef662e5ac
commit 16556e7722

View File

@ -76,11 +76,11 @@ class syntax_plugin_whoisinyourhackspace extends DokuWiki_Syntax_Plugin {
$content .= "<h3>" . $this->getLang('wiyh_heading') . "</h3>";
if ($api->state->open) {
$message = "{$api->space} {$this->getLang('wiyh_open')}";
$message = "{$api->space} {$this->getLang('wiyh_open')}";
$content .= $api->state->icon->open ? "<img class=\"icon\" src=\"{$api->state->icon->open}\" alt=\"{$message}\" title=\"{$message}\" />" : '';
$content .= "<p class=\"text\">{$message}</p>";
} else {
$message = "{$api->space} {$this->getLang('wiyh_closed')}";
$message = "{$api->space} {$this->getLang('wiyh_closed')}";
$content .= $api->state->icon->closed ? "<img class=\"icon\" src=\"{$api->state->icon->closed}\" alt=\"{$message}\" title=\"{$message}\" />" : '';
$content .= "<p class=\"text\">{$message}</p>";
}