Skip to content

Commit

Permalink
fix: ignore warnings (bad error)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlo411 committed Aug 16, 2023
1 parent 4b017cb commit 904e35e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions static/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

function main() {
hljs.configure({
ignoreUnescapedHTML: true
});

initTable()
initModelStream()
}
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flask ML Adapter</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js" defer></script>
<script src="{{url_for('static', filename='app.js')}}" defer></script>
<link rel="stylesheet" href="{{url_for('static', filename='styles.css')}}">
<link rel="stylesheet" href="{{url_for('static', filename='highlight.css')}}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js" defer></script>
</head>
<body>

Expand Down

0 comments on commit 904e35e

Please sign in to comment.