We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5d61c commit 71d34f2Copy full SHA for 71d34f2
assets/src/js/_acf-notice.js
@@ -36,7 +36,7 @@
36
this.type( this.get( 'type' ) );
37
38
// text
39
- this.html( '<p>' + acf.strEscape( this.get( 'text' ) ) + '</p>' );
+ this.html( '<p>' + acf.escHtml( this.get( 'text' ) ) + '</p>' );
40
41
// close
42
if ( this.get( 'dismiss' ) ) {
assets/src/js/_acf-popup.js
@@ -186,7 +186,7 @@
186
</a>
187
</div>
188
<div class="inner">
189
- <p>${ acf.strEscape( this.get( 'text' ) ) }</p>
+ <p>${ acf.escHtml( this.get( 'text' ) ) }</p>
190
<div class="acf-actions">
191
<button tabindex="0" type="button" data-event="close" class="acf-btn acf-btn-secondary acf-close-popup">${ acf.strEscape(
192
this.get( 'textCancel' )
0 commit comments