Skip to content

How to remove DIV with a specific class from output? #636

Answered by markhalliwell
sewid asked this question in Q&A
Discussion options

You must be logged in to vote

While Markdown allows raw HTML, it doesn't parse it. You will need a different library (or even just use DOMDocument) to traverse the HTML and remove it that way.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by colinodell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question General questions about the project or usage
2 participants
Converted from issue

This discussion was converted from issue #597 on June 12, 2021 13:53.