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
It seems like the </script> tag from my example code is being interpreted as the closing tag for the <script> tag that comes just before const __redoc_state =.
I'm trying to provide some HTML code samples in an OpenAPIv3 document using
x-code-samples
like this:If I add a
script
tag it seems to break the page rendering:A bunch of text is dumped at the bottom of the page and I see this error in the console in Firefox 61:
I'm using
redoc-cli
version0.5.0
on Ubuntu 18.04:I'm using the
bundle
sub-command:Am I doing something wrong? Or should I be altering the
script
tag somehow to "escape" it for the code samples?The text was updated successfully, but these errors were encountered: