fix: specify charset utf-8 in html script declaration (#6278)
ref: #5311
This commit is contained in:
committed by
GitHub
parent
22668ee8d3
commit
d7d166d0a4
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user