Skip to content

fix: escape hint markup instead of parsing it - #28

Merged
raisedadead merged 1 commit into
mainfrom
fix/hint-formatting-followups
Oct 19, 2026
Merged

raisedadead merged 1 commit into
mainfrom
fix/hint-formatting-followups

Conversation

@raisedadead

@raisedadead raisedadead commented Jul 31, 2026 •

Copy link
Copy Markdown
Member

sanitize-html parsed hints and deleted what it did not model: "Add at the top" reached campers as "Add at the top". The formatter now escapes all markup and keeps only plain <code> live. Code tags with attributes show as text, as the API contract states. The prompt-frame tag regex took about 4 s on one 49k-space input; it is now linear, and nested tags are stripped. A failed startup flushes Sentry before exit.

@raisedadead
raisedadead marked this pull request as draft July 31, 2026 16:47
@raisedadead raisedadead changed the title fix: escape-based hint formatting fix: follow ups and QoL improvements Jul 31, 2026
@raisedadead
raisedadead force-pushed the fix/hint-formatting-followups branch 3 times, most recently from 44c214b to 4ae0430 Compare September 11, 2026 10:21
@raisedadead
raisedadead marked this pull request as ready for review September 11, 2026 10:23
@raisedadead
raisedadead force-pushed the fix/hint-formatting-followups branch from 4ae0430 to 1ef6eb3 Compare October 19, 2026 07:45
@raisedadead
raisedadead requested review from a team as code owners October 19, 2026 07:45
@raisedadead raisedadead changed the title fix: follow ups and QoL improvements fix: escape hint markup instead of parsing it Oct 19, 2026
@raisedadead
raisedadead merged commit fba5505 into main Oct 19, 2026
3 checks passed
@raisedadead
raisedadead deleted the fix/hint-formatting-followups branch October 19, 2026 14:07
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