sympy-bot
sympy-bot copied to clipboard
<!-- END RELEASE NOTES --> not handled correctly when it isn't on its own line
See https://github.com/sympy/sympy/pull/15917. The <!-- END RELEASE NOTES -->
got added to the release notes.
Detecting things that are hidden in the rendered HTML generically seems hard. We would need to parse the Markdown, but neither of the Python markdown libraries seem particularly fun to use.
Maybe we could do a poor-man's parsing (we only need to guard against ` and ``` code blocks). We would also probably want to whitelist real tags.