• chris

    (@achensee)


    pleas fix line 88 to
    $description = htmlspecialchars ( wp_strip_all_tags( $post->post_content ), ENT_QUOTES, 'utf-8', false );
    and line 96 to
    $location_tmp_output .= ( !empty($venue) ? ' "name": "'.htmlspecialchars( $venue, ENT_QUOTES, 'utf-8', false ).'",' : '' );

    otherwise double quotes within the both fields description and venue will break the ld+json string

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Escape double quotes’ is closed to new replies.