GUACAMOLE-773: Remove use of XHTML-style self-closing tags from normal HTML.

This is particularly important for AngularJS 1.8.x and jQuery 3.5.0+,
which will no longer correct this automatically with their HTML
prefilters, resulting in unexpected nesting of tags when the browser
interprets something like "<div/>" as "<div>" (older versions of jQuery
would have corrected "<div/>" to "<div></div>").

See:

 * https://docs.angularjs.org/guide/migration#migrating-from-1-7-to-1-8
 * https://jquery.com/upgrade-guide/3.5/
This commit is contained in:
Michael Jumper
2021-06-02 15:24:57 -07:00
parent e93d0faa22
commit 700e2023af
37 changed files with 79 additions and 79 deletions

View File

@@ -1,8 +1,8 @@
<!-- Sets up a dialog box that will be inserted immediately after the "version"
element. -->
<meta name="after" content=".version" />
<meta name="after" content=".version">
<!-- An HTML div that has a class of "warning", pluss the other classes that
will be applied from above. -->
<div class="warning">Beware of entering Saturn's gravitational field.
Few who enter it ever escape.</div>
Few who enter it ever escape.</div>