Faulty slash-escaping on HTML tags after fix for invisible HTML tags #230

Closed
opened 2026-02-16 17:25:51 -05:00 by yindo · 1 comment
Owner

Originally created by @markjaquith on GitHub (Jun 23, 2025).

Originally assigned to: @adamdotdevin on GitHub.

This commit fixed invisible HTML tags, but also inadvertently added slash escaping to angle brackets:

Image

I suspect that the commit is adding this escaping for when HTML tags are coming back from the LLM without markdown ticks... but it needs to not do that when inside backtick-demarcated code sections.

Originally created by @markjaquith on GitHub (Jun 23, 2025). Originally assigned to: @adamdotdevin on GitHub. [This commit](https://github.com/sst/opencode/commit/28bc49ad170bb1104a5f5ebb4bf1c740fbe59d5c#diff-2ecc9c267fc900c72f5be4270c18131f699516f8797807718dc1203c2920e108R28-R29) fixed invisible HTML tags, but also inadvertently added slash escaping to angle brackets: ![Image](https://github.com/user-attachments/assets/b6f99719-9f17-413a-a07d-01a473a11a6d) I suspect that the commit is adding this escaping for when HTML tags are coming back from the LLM without markdown ticks... but it needs to **not** do that when inside backtick-demarcated code sections.
yindo closed this issue 2026-02-16 17:25:51 -05:00
Author
Owner

@markjaquith commented on GitHub (Jul 12, 2025):

This got fixed at some point.

@markjaquith commented on GitHub (Jul 12, 2025): This got fixed at some point.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#230