strip tags

This commit is contained in:
Joachim Happel 2024-05-23 20:17:07 +02:00
parent c2ca254ce6
commit 3f5ae8aa00

View file

@ -65,6 +65,7 @@ class PostToLiaScriptShortcodeButton {
$html = $parsedown->text($content); $html = $parsedown->text($content);
$converter = new HtmlConverter(); $converter = new HtmlConverter();
$markdown = $converter->convert($html); $markdown = $converter->convert($html);
$markdown = strip_tags($markdown);
return $markdown; return $markdown;
} }