This commit fixes a bug in the `check_early_line_breaks` test that would
systematically consider the `\n` character as being part of the line,
hence counting it when computing the line length.
closesodoo/documentation#12273
X-original-commit: e1a8a55c4f
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
RST separators (`-----`) look similar to H3 delimiters that use the same
`-` character, but separators' length should not be checked.
X-original-commit: a54a68823f
Part-of: odoo/documentation#12273
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>