Skip to content

chore: release v0.3.4 - #31

Merged
TecFancy merged 8 commits into
mainfrom
development
Nov 16, 2026
Merged

TecFancy merged 8 commits into
mainfrom
development

Conversation

@TecFancy

Copy link
Copy Markdown
Owner

Release v0.3.4 to main. Contains the html-doc XSS fix (#29) and the version bump (#30).

No functional change since v0.3.2: the only commits after it are the npm
Trusted Publishing migration (#25, #26), which touches the release workflow
and AGENTS.md and neither ships in the package. This release exists to
validate the new OIDC publisher before its two-day configuration window
expires.
… them

The raw-HTML branch passed `<details ...>` / `<summary ...>` lines and the
whole block body through verbatim, so `<details ontoggle=... open>`,
`<summary onclick=...>` or an `<img onerror=...>` inside the block reached
the generated page. deeptutor_run feeds model and web-search output into
this converter, so that content is untrusted.

The tags are now rebuilt: attributes are dropped (only a bare `open` is
kept), summary text goes through inline() so it is escaped first, and the
block body is parsed as Markdown, which escapes any HTML in it and also
renders fences, lists and bold that used to show as literal text.
fix: rebuild raw <details>/<summary> in md-to-html instead of echoing them
Ships the html-doc XSS fix (#29): md-to-html rebuilds raw <details>/<summary>
tags without attributes and parses the block body as Markdown instead of
echoing it into the generated page.
@TecFancy
TecFancy merged commit 4bddda6 into main Nov 16, 2026
4 checks passed
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