Repository navigation
HandoutFormatter 1.0.1: fix horizontal rules being stripped, fix help handout avatar - #2358
Merged
Merged
Conversation
Updated version to 1.0.1 and fixed issues with horizontal rules and help handout icon.
Updated version and description for HandoutFormatter.
Alicekb
approved these changes
Oct 28, 2026
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.
This fixes two bugs:
Horizontal rules (
at the top of its Notes text instead of being set as the handout’s own avatar. Fixed to use the avatar property, same as it should have from the start.
<hr>) were being silently deleted from Notes/GM Notes any time a style was applied or removed, because<hr>wasn’t in the script’s list of tags it keeps when cleaning content. Added it, and made sure it closes out any open paragraph or heading first instead of ending up nested inside one.The help handout’s icon was inlined as an
Tested against a handout with a horizontal rule between two paragraphs — applied a style and confirmed the rule and both paragraphs survive, then ran Remove Styling and confirmed the same. Also confirmed the help handout no longer has the image inlined in its text and its avatar is set correctly.