aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/htmlawed/start.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/htmlawed/start.php b/mod/htmlawed/start.php
index 14e45a6d9..1fab03153 100644
--- a/mod/htmlawed/start.php
+++ b/mod/htmlawed/start.php
@@ -81,6 +81,7 @@ function htmlawed_hook($element, $attribute_array) {
// to only add a space if needed.
if ($string = trim($string)) {
$string = " $string";
+ }
$r = "<$element$string>";
return $r;