Fix lettered sub-lists rendering as code blocks in Policies 3.3F, 3.5, and 3.6 - #77
Open
amfriesz wants to merge 4 commits into
Open
Fix lettered sub-lists rendering as code blocks in Policies 3.3F, 3.5, and 3.6#77amfriesz wants to merge 4 commits into
amfriesz wants to merge 4 commits into
Conversation
- Convert the a./b./c. lettered sub-items under "Required Elements" so
Pandoc no longer swallows them into an indented code block (they
were one column short of the parent numbered item's content indent).
- Wrap all prose paragraphs and list items to ~80 columns, reflowing
full paragraphs rather than only lines that individually overflowed.
- Remove a leftover leading-space indentation artifact on the intro
heading/paragraph and the "Required Elements" label.
- Fix minor punctuation/spacing slips: a missing space after a comma,
double-spaces after periods, a missing space ("Acoordinated" ->
"A coordinated"), a stray mid-sentence capital, and a double blank
line before the closing paragraph.
Verified by rendering: zero code blocks remain, content unchanged
aside from the fixes above.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Dedent the a./b./c./i./ii. sub-items across sections A-E and H from a bare 4-space indent to column 0. With no enclosing list, that indent was Markdown's classic "indented code block" trigger, so the sub-items rendered as literal preformatted text. This also fixes the "**Guidelines**" text under section H, which was rendering as a literal double-asterisk string because it was trapped in the same code block. - Wrap all prose paragraphs and list items to ~80 columns, reflowing full paragraphs rather than only lines that individually overflowed. Verified by rendering: zero code blocks remain, nested lists (e.g. <ol type="a"> containing <ol type="1">) render correctly, and content is unchanged aside from the fixes above. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Dedent the a./b./i./ii./iii./iv. sub-items in sections A (top), B, C, and D from a bare 4-space indent to column 0, fixing the same "indented code block" bug as Policy 3.5 -- the embedded Investment Policy body's existing "- " bullet lists were already well-formed and left untouched. - Convert the "[Note: ...]" allocation-range disclaimer into a Quarto callout-note box, matching the pattern already used in 1-0-definitions.qmd and 3-5a-travel-expense.qmd. - Wrap all prose paragraphs and list items to ~80 columns, reflowing full paragraphs rather than only lines that individually overflowed. Verified by rendering: zero code blocks remain, nested lists render correctly, the callout renders as a titled note box, the allocation table is intact, and content is unchanged aside from the fixes above. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Collaborator
|
@amfriesz - I made some more formatting changes to this PR, but otherwise ready to approve |
BenGalewsky
approved these changes
Sep 1, 2026
BenGalewsky
left a comment
Collaborator
There was a problem hiding this comment.
Looks good with some additional changes pushed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
**Guidelines**text under section H, which was rendering as literal asterisks because it was trapped in the same code block.callout-notebox, matching the pattern already used in1-0-definitions.qmdand3-5a-travel-expense.qmd.06815ad.Fixes #60
Test plan
<pre>/<code>blocks remain<ol type="a">containing<ol type="1">)**Guidelines**text in 3.5 now renders bold instead of literal asterisks🤖 Generated with Claude Code