Skip to content

Commit dc4756c

Browse files
committed
Remove <p> tags from descriptions
1 parent 7237b7a commit dc4756c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPFUI/InstaDoc/MarkDownParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function fileText(string $filename) : string
2323

2424
public function html(string $markdown) : string
2525
{
26-
return $this->parser->parseParagraph($markdown);
26+
return $this->parser->parseParagraph(\str_replace(['<p>', '</p>'], '', $markdown));
2727
}
2828

2929
public function text(string $markdown) : string

0 commit comments

Comments
 (0)