cfpb / regulations-site

(DEPRECATED) Web interface for viewing U.S. federal regulations and other regulatory information
Other
28 stars 43 forks source link

Appendix markers #791

Open ascott1 opened 8 years ago

ascott1 commented 8 years ago

This issue is being created for posterity.

Regulations that are currently (as of 03/02/2016) on consumerfinance.gov/eregulations were transformed using the eCFR XML parsing process. This process created inconsistencies in the markup that is outputted in appendices that have list markers (Z, D, G, H). These inconsistencies were hidden, as best we could, using CSS.

As we moved to the RegML transformation process, we were able to improve that output and produce consistent markup in the appendices. This means that we were able to remove the Appendix marker specific CSS (see #790)

Since we will have an interim state where some regulations were transformed with the old process and some were transformed with the new, I created an override for the appendix marker styles in those original regs D, G, and H. The override is in egulations/static/regulations/css/less/overrides.less. When those regulations are moved to the RegML process their override will need to be removed to ensure the appendix markers format correctly.