Skip to content

Release ctrlaltbot 1.1.2 - #4

Merged
SENPIEMAN merged 1 commit into
mainfrom
release/1.1.2
Sep 29, 2026
Merged

SENPIEMAN merged 1 commit into
mainfrom
release/1.1.2

Conversation

@SENPIEMAN

Copy link
Copy Markdown
Contributor

Fixes section text from docs sites that only send rendered HTML (such as docs.casterlabs.co): each heading's # permalink leaked into the text, so Discord rendered headings as plain text and the following paragraph as a large heading.

The HTML fallback now removes permalinks, renders headings in bold, keeps code blocks (without template indentation), inline code, bold text, and lists, and escapes other text Discord would treat as formatting. Covered by a test built from the site's real heading markup.

Fix section text from docs sites that only send rendered HTML. Each
heading's "#" permalink was left in the text, so Discord showed headings
as plain text and the following paragraph as a large heading.

The HTML fallback now removes permalinks, renders headings in bold, keeps
code blocks, inline code, bold text, and lists, and escapes other text
Discord would treat as formatting.
@SENPIEMAN
SENPIEMAN merged commit 1c94e9b into main Sep 29, 2026
1 check passed
@SENPIEMAN
SENPIEMAN deleted the release/1.1.2 branch September 29, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant