LMS-52 Provisions in quoted structure look different from surrounding Bill or another quoted structure
ID | Raised by | Affects version | Related Jira tickets | Status |
---|---|---|---|---|
LMS-52 | HoL, OPC | v11.4 | ? | OPEN |
Issue description
Sometimes provisions (e.g. subsections) in a quoted structure are formatted slightly differently from provisions elsewhere in the Bill or in another quoted structure (e.g. in another amendment). For example:
This is caused by the quoted structure being set as a different document type from the main document or the other quoted structure. Quoted structures have a docName attribute which helps the PDF renderer present the content of the quoted structure appropriately. It is mainly used to allow SI/SSI provisions to be rendered correctly in a Bill and vice versa. But it means that UK Bill/Act provisions will be presented slightly differently from Scottish Bill/Act provisions as well.
Workaround
You can manually edit the document type of a quoted structure in the Editor using the attributes panel.
Place your cursor within the quoted structure
Click on the Quoted Structure breadcrumb
Click on the Attributes panel on the right of the screen
Click on the ukl:docName field to edit it:
if the provisions should be presented like UK provisions enter “ukpga”
if the provisions should be presented like Scottish provisions enter “asp”
Click Accept.
There may be no visible difference in the Editor but you should find when you generate a PDF that the formatting has changed.