Skip to content

Conversation

@jochenklar
Copy link
Member

This PR adds the nh3 to clean markdown content. The feature can be controlled by settings.MARKDOWN_CLEAN = True | False and for more fine grained control:

MARKDOWN_CLEAN = True
MARKDOWN_CLEAN_KWARGS = {
    'attributes': {'*': {'style'}},
    'filter_style_properties': {'color'}
}

to allow, e.g., style arguments, but only the color property.

@jochenklar jochenklar requested a review from MyPyDavid January 8, 2026 11:32
@jochenklar jochenklar self-assigned this Jan 8, 2026
@jochenklar jochenklar added this to the RDMO 2.5.0 milestone Jan 8, 2026
@jochenklar jochenklar changed the base branch from main to 2.5.0/release January 8, 2026 11:33
@jochenklar jochenklar changed the title 2.5.0/nh3 nh3 Jan 8, 2026
@MyPyDavid MyPyDavid linked an issue Jan 8, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter markdown conversion

2 participants