diff --git a/include/class-job-single-view.php b/include/class-job-single-view.php index fe7b531..00ca5bd 100644 --- a/include/class-job-single-view.php +++ b/include/class-job-single-view.php @@ -461,7 +461,7 @@ public static function get_job_fields( $post_id, $position = 'sort-left' ){ $icon = Job_Postings_Helper::getRawSvg( 'clock.svg' ); } - $out .= $icon.esc_html($value); + $out .= $icon.$value; break; @@ -562,7 +562,7 @@ public static function get_job_fields( $post_id, $position = 'sort-left' ){ //$value = htmlspecialchars($value); //$out .= apply_filters('the_content', $value); - $tinymce_content = wpautop(esc_html($value)); + $tinymce_content = wpautop($value); if( class_exists('WP_Embed') ) { $wpembed = new WP_Embed(); @@ -643,7 +643,7 @@ public static function get_job_fields( $post_id, $position = 'sort-left' ){ $value = isset( $values[$key] ) ? esc_attr( $values[$key][0] ) : ''; $value = htmlspecialchars($value); - $out .= esc_html($value); + $out .= $value; break; } }