Skip to content

Commit 71d34f2

Browse files
committed
Update JS
1 parent 1a5d61c commit 71d34f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/src/js/_acf-notice.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
this.type( this.get( 'type' ) );
3737

3838
// text
39-
this.html( '<p>' + acf.strEscape( this.get( 'text' ) ) + '</p>' );
39+
this.html( '<p>' + acf.escHtml( this.get( 'text' ) ) + '</p>' );
4040

4141
// close
4242
if ( this.get( 'dismiss' ) ) {

assets/src/js/_acf-popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
</a>
187187
</div>
188188
<div class="inner">
189-
<p>${ acf.strEscape( this.get( 'text' ) ) }</p>
189+
<p>${ acf.escHtml( this.get( 'text' ) ) }</p>
190190
<div class="acf-actions">
191191
<button tabindex="0" type="button" data-event="close" class="acf-btn acf-btn-secondary acf-close-popup">${ acf.strEscape(
192192
this.get( 'textCancel' )

0 commit comments

Comments
 (0)