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
From the homepage, I entered the page corresponding to the markdown document, which was normal, but at this time if I refresh the page, a parsing error will appear.
I think it's because the </script> in the code block was parsed as the ending tag of the <script> where window.ISLAND_PAGE_DATA is located, and then the content after that could not be parsed correctly.
Describe the bug
I wrote several code blocks of html in the markdown document:
then previewed after packaging.
From the homepage, I entered the page corresponding to the markdown document, which was normal, but at this time if I refresh the page, a parsing error will appear.
I think it's because the
</script>
in the code block was parsed as the ending tag of the<script>
wherewindow.ISLAND_PAGE_DATA
is located, and then the content after that could not be parsed correctly.Reproduction
See: https://codesandbox.io/p/sandbox/island-app-script-issue-qy5fpq?file=%2Fisland-app%2Fdocs%2Farticle%2Fastro.md%3A24%2C7
Expected behavior
parse
</script>
correctlySystem Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: