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 @@
<meta name="before" content=".all-connections" />
<meta name="before" content=".all-connections">
<div class="quickconnect-list-item list-item" ng-controller="quickconnectController">
<div class="quickconnect-container">
<form ng-submit="quickConnect()">
<input type=text class="quickconnect-field" placeholder="{{'QUICKCONNECT.FIELD_PLACEHOLDER_URI' |translate}}" ng-model="uri" />
<input type=text class="quickconnect-field" placeholder="{{'QUICKCONNECT.FIELD_PLACEHOLDER_URI' |translate}}" ng-model="uri">
</form>
</div>
<div class="action-buttons">

View File

@@ -1 +1 @@
<input type="hidden" ng-model="model" />
<input type="hidden" ng-model="model">

View File

@@ -41,7 +41,7 @@
<div class="totp-code">
<input type="text"
placeholder="{{'TOTP.FIELD_PLACEHOLDER_CODE' |translate}}"
ng-model="model" autocorrect="off" autocapitalize="off"/>
ng-model="model" autocorrect="off" autocapitalize="off">
</div>
</div>