Diff syntax highlighting HTML spilling into content #5736

Closed
opened 2025-11-02 06:34:31 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @silverwind on GitHub (Jul 13, 2020).

9f342114d7
9f342114d7

On Line 88 of test.js the parts nx"> and k"> related to syntax highlighting markup should not be visible. Source HTML:

<span class="<span class=" removed-code"="">nx"&gt;resultValue</span>
<span class="<span class=" added-code"="">k"&gt;typeof</span>

cc: @mrsdizzie

Originally created by @silverwind on GitHub (Jul 13, 2020). https://try.gitea.io/silverwind/updates/commit/9f342114d7a6bb087ff777a983d0e03b41873b07 https://github.com/silverwind/updates/commit/9f342114d7a6bb087ff777a983d0e03b41873b07 On Line 88 of `test.js` the parts `nx">` and `k">` related to syntax highlighting markup should not be visible. Source HTML: ````html <span class="<span class=" removed-code"="">nx"&gt;resultValue</span> ```` ````html <span class="<span class=" added-code"="">k"&gt;typeof</span> ```` cc: @mrsdizzie
Author
Owner

@mrsdizzie commented on GitHub (Jul 13, 2020):

Good catch, this is side effect from #12205

Made a PR that should fix this if you could please test

@mrsdizzie commented on GitHub (Jul 13, 2020): Good catch, this is side effect from #12205 Made a PR that should fix this if you could please test
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5736