diff --git a/ext/tag_edit/theme.php b/ext/tag_edit/theme.php index 6b010d1a..33119847 100644 --- a/ext/tag_edit/theme.php +++ b/ext/tag_edit/theme.php @@ -100,6 +100,9 @@ class TagEditTheme extends Themelet { $proto_domain = explode("://", $source); $h_source = html_escape($proto_domain[1]); $u_source = html_escape($source); + if(endsWith($h_source, "/")) { + $h_source = substr($h_source, 0, -1); + } return "$h_source"; } return "Unknown";