Closed IanMayo closed 6 months ago
Europe.html is an example of a region file - it lists the countries that appear in that region.
Europe.html
region
Our current processing is to give each of these a title which says Regions, and the convert the rest of the page.
Regions
Each region file actually has the region title in a h1 element. This would make a better title element.
h1
title
We could support this as follows:
htmlToDITA
process_sub_region
Europe.html
is an example of aregion
file - it lists the countries that appear in that region.Our current processing is to give each of these a title which says
Regions
, and the convert the rest of the page.Each region file actually has the region title in a
h1
element. This would make a bettertitle
element.We could support this as follows:
htmlToDITA
which instructs it to strip outh1
elementsprocess_sub_region
, find the firsth1
in the file, and use this as the title. InstructhtmlToDITA
to remove h1 elements in this case.