Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Markdown::parse() method is announced as deprecated #4

Closed
Okipa opened this issue Jan 8, 2017 · 1 comment
Closed

The Markdown::parse() method is announced as deprecated #4

Okipa opened this issue Jan 8, 2017 · 1 comment
Labels

Comments

@Okipa
Copy link

Okipa commented Jan 8, 2017

The Markdown::parse() method is announced as deprecated.
We find the following information into the PHPdoc :

@deprecated Function overloaded to maintain compatibility.

Which other method should we use to avoid problems in the future versions ?

@AlfredoRamos
Copy link
Owner

I'm using an overloaded Parsedown method to sanitize the HTML, the @deprecated PHPDoc tag is not really needed so I will remove it.

There's no alternative method if you want to use HTML Purifier too, if you don't need it you might want to use Markdown::text()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants