sympy / sympy-bot

GitHub bot for SymPy
https://github.com/sympy-bot
Other
22 stars 11 forks source link

<!-- END RELEASE NOTES --> not handled correctly when it isn't on its own line #52

Open asmeurer opened 5 years ago

asmeurer commented 5 years ago

See https://github.com/sympy/sympy/pull/15917. The <!-- END RELEASE NOTES --> got added to the release notes.

asmeurer commented 5 years ago

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.