Closed willbarton closed 9 years ago
More good stuff. Also, I'm so sorry for buildout.
I'm so sorry for buildout.
I too have created projects that use buildout.
Any idea why Travis has suddenly decided to error on buildout? Is it something we should ignore or can it be fixed?
We should probably fix it — there's a problem with one of the buildout components (djangorecipe, which installs Django). It's been updated, by the looks of it, and we're using a deprecated option.
Error: The projectegg option is deprecated. See the changelog for 2.0 at http://pypi.python.org/pypi/djangorecipe/2.0
I can make a separate PR to fix that. Until then, regulations-site probably won't build for anyone who hasn't already got it built-out.
Travis is going to keep failing when setting up the dummy-api, but let's merge this. Everything is ok in here.
This PR handles the JSON created in cfpb/regulations-parser#276 for elements in the regulation XML like this:
In the regulation XML. These are "paragraphs that fill with dashes" and are used in regulations for model forms.
This adds code to handle the
FP-DASH
paragraphs in in the formatting layer, as well as a template for rendering them and styles to create the "dash" (in this case, an underline) that extends after the text to the end of the line.The result appears like this:
This PR goes along with cfpb/regulations-parser#276.
@ascott1 @grapesmoker