fix: specify charset utf-8 in html script declaration (#6278)

ref: #5311
This commit is contained in:
Irena Shaigorodsky
2020-07-31 19:51:17 -04:00
committed by GitHub
parent 22668ee8d3
commit d7d166d0a4
6 changed files with 13 additions and 13 deletions

View File

@@ -34,8 +34,8 @@
<body>
<div id="swagger-ui"></div>
<script src="./swagger-ui-bundle.js"> </script>
<script src="./swagger-ui-standalone-preset.js"> </script>
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script>
window.onload = function() {
window["SwaggerUIBundle"] = window["swagger-ui-bundle"]