Issue #3305621 by longwave, Wim Leers: HTMLRestrictions::mergeAllowedElementsLevel() fails when merging <ol type="1"> (cherry picked from commit 1921b1bd)
mentioned in commit 5368b3d3
mentioned in commit 06a12b83