@SmokeDetector I guess this was triggered by the Python prompt >>> being after <code>, which together made >>>>. Not sure because there is some HTML escaping and unescaping involved.
If >>> was in a set of keywords with the flag strip_code_blocks : true, that wouldn't happen.