miyuchina / mistletoe

A fast, extensible and spec-compliant Markdown parser in pure Python.
MIT License
811 stars 113 forks source link

fix: Apply traverse class filter to source when include_source=True #158

Closed asb closed 2 years ago

asb commented 2 years ago

Previously, any class filter given to traverse wouldn't be respected for the source node (returned if include_source=True). This patch addresses this.

This is considered a bug fix as opposed to a breaking change because:

pbodnar commented 2 years ago

@asb, a pro work, thank you :)