Fixed error in function

Missed </a> tag
This commit is contained in:
aftercase 2021-07-12 21:26:08 +01:00
parent 31654990b7
commit ddcb18a85c

View file

@ -20,7 +20,7 @@ function sandwitch($str) {
} else { } else {
$tagcolor = "tag is-info"; $tagcolor = "tag is-info";
} }
$output .= '<a href="/archive?q=' . trim($word) . '"><span class="' . $tagcolor . '">' . trim($word) . '</span>'; $output .= '<a href="/archive?q=' . trim($word) . '"><span class="' . $tagcolor . '">' . trim($word) . '</span></a>';
} }
return $output; return $output;
} }