You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sending a PR your way that only replaces the <script> elements that reference a known git forge, and leaves the rest intact. I am completely unfamiliar with the logic used in this script, and made the PR with the help of Copilot. I tested the result with my original issue and the examples (1, 2) from the README, and all are now working. Please check accordingly.
Activity
mruijzendaal commentedon Aug 29, 2025
This appears to be caused by the following section in
htmlpreview.js:html-preview.github.io/htmlpreview.js
Lines 383 to 385 in 9322356
I'm sending a PR your way that only replaces the
<script>elements that reference a known git forge, and leaves the rest intact. I am completely unfamiliar with the logic used in this script, and made the PR with the help of Copilot. I tested the result with my original issue and the examples (1, 2) from the README, and all are now working. Please check accordingly.mruijzendaal commentedon Aug 29, 2025
Thanks for keeping this more up to date than the original fork, and thanks in advance for merging.