Skip to content

Commit

Permalink
Update Context.php
Browse files Browse the repository at this point in the history
UTF-8 support
  • Loading branch information
Jazz-Man authored Aug 18, 2017
1 parent 363e11f commit b9e08bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function generate()
{
$properties = $this->getProperties();

return $properties ? "<script type=\"application/ld+json\">" . json_encode($properties) . "</script>" : '';
return $properties ? "<script type=\"application/ld+json\">" . json_encode($properties,JSON_UNESCAPED_UNICODE) . "</script>" : '';
}

/**
Expand Down

0 comments on commit b9e08bc

Please sign in to comment.