Skip to content

Commit

Permalink
Fix HTML encoding for links in the [jobs] filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jom committed Jun 22, 2018
1 parent 09fc708 commit 795e84f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/ajax-filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ jQuery( document ).ready( function ( $ ) {
if ( result ) {
try {
if ( result.showing ) {
var showing_el = jQuery('<span>').text(result.showing)
$( showing ).show().html( '').text(result.showing_links).prepend(showing_el);
var showing_el = jQuery('<span>').html(result.showing);
$( showing ).show().html( '').html(result.showing_links).prepend(showing_el);
} else {
$( showing ).hide();
}
Expand Down

0 comments on commit 795e84f

Please sign in to comment.