thephpleague / html-to-markdown

Convert HTML to Markdown with PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stripping tags does not work

DenuxPlays opened this issue · comments

Version(s) affected

5.1.1

Description

When enalbing this:

$converter = new HtmlConverter(array('strip_tags' => true));

It simply does the same as:

$converter = new HtmlConverter();

How to reproduce

Convert a hml document like:

<div><span>Test</span></div>

and try to convert it to markdown.
It will return this:

<div><span>Test</span></div>

Possible solution

No response

Additional context

No response

Did this project help you today? Did it make you happy in any way?

No response

nvm I am stupid