fix: do not submit non submittable doctypes [backport/v5-fix]

Backport of !1957 (merged)


Merge request reports

Loading