Skip to content

Fix selector for admonition title in togglebutton.js#77

Merged
douden merged 2 commits intomasterfrom
fix_invalid_CSS_selector
Mar 27, 2026
Merged

Fix selector for admonition title in togglebutton.js#77
douden merged 2 commits intomasterfrom
fix_invalid_CSS_selector

Conversation

@douden
Copy link
Copy Markdown
Contributor

@douden douden commented Mar 27, 2026

When the toggleID contains symbols such as : an error occurs in JS and all dropdown admonitions after the current element stop functioning.

The CSS.escape call fixes this.

When the toggleID contains symbols such as `:` an error occurs in JS and all dropdown admonitions after the current element stop functioning.

The `CSS.escape` call fixes this.
@douden douden marked this pull request as ready for review March 27, 2026 13:42
Add CHANGELOG entry for 0.4.5 (2026-03-27) noting a fix: corrected the selector for the admonition title in togglebutton.js.
@douden douden removed the request for review from Tom-van-Woudenberg March 27, 2026 13:46
@douden douden merged commit 0023a70 into master Mar 27, 2026
2 of 3 checks passed
@douden douden deleted the fix_invalid_CSS_selector branch March 27, 2026 13:47
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