mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 15:53:36 -04:00
"t()" escapes and sanitizes the returned text by default, so strings like "<" are converted to "<". However, the "jQuery.text()" parameter does not need to be escaped, as "<" is shown literally as "<" rather than "<". Now "jQuery.html()" is used instead, which "unescapes" the given text and sets it as a new text node (as the text in the parameter does not contain markup for elements, only text). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
|---|---|---|
| .. | ||
| ajax | ||
| appinfo | ||
| composer | ||
| css | ||
| img | ||
| js | ||
| l10n | ||
| lib | ||
| src | ||
| templates | ||
| tests | ||
| .l10nignore | ||
| list.php | ||
| recentlist.php | ||
| simplelist.php | ||
| webpack.js | ||