summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Parsedown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parsedown.php b/Parsedown.php
index c65b296..ac3ef81 100644
--- a/Parsedown.php
+++ b/Parsedown.php
@@ -1416,7 +1416,7 @@ class Parsedown
$markup .= $Element['text'];
}
- $markup .= '</'.preg_replace('/[ ].*/', '', $Element['name']).'>';
+ $markup .= '</'.$Element['name'].'>';
}
else
{