You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello **world**, do not `escape()` to the moon.<br>
End
With ParseDown, I can convert this markdown syntax to HTML in normal contents display part. But in some part such as HTML attribute or excerpt, I just want to strip all markdown to be like this.
Hello world, do not escape() to the moon.<br>
End
It's okay to strip just markdown and leave HTML to PHP strip_tags() function task.
So that I can strip markdown and HTML and put in HTML attribute or excerpt part like this.
<div id="post-12345" title="Hello world, do not escape() to the moon.End">...</div>
The text was updated successfully, but these errors were encountered:
Do you have plan to implement strip markdown?
Use case:
Example that I have this string.
With ParseDown, I can convert this markdown syntax to HTML in normal contents display part. But in some part such as HTML attribute or excerpt, I just want to strip all markdown to be like this.
It's okay to strip just markdown and leave HTML to PHP
strip_tags()
function task.So that I can strip markdown and HTML and put in HTML attribute or excerpt part like this.
The text was updated successfully, but these errors were encountered: