Follow up on #25333.
split_bom
In order to standardise the handling of front matter, it was also necessary to standardise the handling of the BOM, which may appear before the FM.