Fixes for weird document structure
Posted by mholmes on 23 Oct 2018 in Activity log
There were several instances in which document content such as figure and head elements was directly inside the front or body, without any intervening div. This was causing rendering issues -- head element styles were being lost, for example. I fixed all instances of this, and added a Schematron rule to prevent it in future.
We've also devised a bit of an encoding hack, involving nested date elements, to get around the TEI's decision not to allow @when alongside other attributes on dates. CC will implement it by examining all cases, and then I'll deal with any processing fallout as required.