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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This OpenAPI rule flags a <script> tag in a fenced code block in our documentation as a warning, for example:
html <script src=\"https://unpkg.com/[email protected]/dist/xdomain.min.js\" slave=\"https://api.example.com/v1/proxy.html\"></script>
This generates a "Markdown descriptions must not have "<script>" tags."
I have tried using <script> but they do not seem to render correctly, they show the actual "<".
It is certainly not unreasonable to think a <script></script> example would be used in a code block...
https://www.w3schools.com/tags/tag_script.asp
https://html.spec.whatwg.org/review-drafts/2020-01/#common-pitfalls-to-avoid-when-using-the-scripting-apis
Is this a bug in the rule?
Beta Was this translation helpful? Give feedback.
All reactions