Open jagaudin opened 3 years ago
This PR adds a setting MARKDOWNX_MARKDOWNIFY_WITH_REQUEST to make the request object available to the markdownify function. This can be used for example to sanitize the HTML output based on user permissions.
MARKDOWNX_MARKDOWNIFY_WITH_REQUEST
This PR adds a setting
MARKDOWNX_MARKDOWNIFY_WITH_REQUEST
to make the request object available to the markdownify function. This can be used for example to sanitize the HTML output based on user permissions.