Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds 2 things: 1 change and 1 bugfix.
replace_chars
was not being applied — now it is1. Decompose "instructions" boxes for NEW NOFO WRITERS
Content Guide documents have often have instructions for writers, explaining how to fill out the following section.
Previously, all of these boxes would be titled "Instructions for NOFO writers:", but now we are seeing a variant that goes "Instructions for new NOFO writers". Updated the function to remove these boxes as well.
2.
replace_chars
was not being applied — now it isSo when I added the
replace_links
function (#64), I created a bug in thenofo_import
route.Here's the bug:
So the
replace_chars
function was being run but not saved, which meant that we were seeing weird stuff coming back in, primarily where we see this is around the application checkboxes.Small fix to get this working again, although it took a while to find.
replace_chars
deals with it