Fix issue #5877

This PR prevent to have enumerate environments inside the headings cells
which breack latex code.

- First, the headings cells are treated with `markdown_strict2latex`
function which use pandoc with the markdown_strict syntax instead of
markdown extended.
- Secondly, `prevent_enumerate` filter escape points in headings cells
starting with `1.`