Skip to content

Commit

Permalink
Include type attribute and closing </script> in Validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
abhchand committed Jun 29, 2020
1 parent c027e85 commit e6130f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VanillaTreeViewer/Validator/Validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ By default, VanillaTreeViewer supports syntax highlighting (through highlight.js
For less common languages, you will have to register it with \`hljs\` manually
Example for ActionScript:
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/${HLJS_VERSION}/languages/actionscript.min.js">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/${HLJS_VERSION}/languages/actionscript.min.js"></script>
Ensure that this script loads *after* VanillaTreeViewer
Expand Down

0 comments on commit e6130f0

Please sign in to comment.