cubicweb #893243 Strange header levels rest-generated HTML [open]

When creating a Blog for example, the main title (the one of the Blog) is a h1 as expected, but the sections and subsections of the rest-formatted content are strange. For the following example:

============
 main title
============

section
=======

subsection
----------

subsubsection
~~~~~~~~~~~~~
  • the "main title" is a h3 (with class="title")
  • "section" is a h3
  • "subsection" is a h4
  • "subsubsection" is a h5

So the problem here is that there is no h2 but h3 with a specific class, which is strange.

prioritynormal
typebug
done in<not specified>
load0.400
load left0.400
closed by<not specified>