Escape special characters in article description for JSON compatibility
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
"@id": "<?php echo($baseUrl . $_SERVER['REQUEST_URI']); ?>"
|
||||
},
|
||||
"headline": "<?= $this -> article["language"]["title"]; ?>",
|
||||
"description": "<?= $this -> article["language"]["entry"]; ?>",
|
||||
"description": "<?= addslashes( $this -> article["language"]["entry"] ); ?>",
|
||||
"image": "<?php echo($baseUrl . $this -> article['language']['main_image']); ?>",
|
||||
"author": {
|
||||
"@type": "Organization",
|
||||
|
||||
Reference in New Issue
Block a user