Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Jan 1, 2022
1 parent de0b628 commit a442744
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions fragments/qanda.json-ld.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
"@context": "https://schema.org",
"@type": "Question",

"name": <?= json_encode($this->question->getQuestion(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?>,
"text": <?= json_encode($this->question->getQuestion(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?>,
"name": <?= json_encode($this->question->getQuestion(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?> ,
"text": <?= json_encode($this->question->getQuestion(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?> ,

"answerCount": 1,
"dateCreated": "<?= htmlentities($this->question->getValue('createdate'), ENT_QUOTES, 'UTF-8'); ?>",
"author": {
"@type": "Person",

"name": <?= json_encode($this->question->getAuthor(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?>
"name": <?= json_encode($this->question->getAuthor(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?>
},
"acceptedAnswer": {
"@type": "Answer",
"text": <?= json_encode($this->getValue('answer'), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?>,
"text": <?= json_encode($this->question->getValue('answer'), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?> ,

"upvoteCount": 0,
"url": "<?= htmlentities($this->question->getUrl(), ENT_QUOTES, 'UTF-8'); ?>",
"dateCreated": "<?= htmlentities($this->question->getValue('updatedate'), ENT_QUOTES, 'UTF-8'); ?>",
"author": {
"@type": "Person",
"name": <?= json_encode($this->question->getAuthor(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?>
"name": <?= json_encode($this->question->getAuthor(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_NUMERIC_CHECK); ?>

}
}
}
</script>
</script>
2 changes: 1 addition & 1 deletion package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# stattdessen den Entwickler unterstützen?
# https://alexplusde.github.io/qanda/
package: qanda
version: '2.0.2'
version: '2.0.3'
author: 'Alexander Walther'
supportpage: https://alexplusde.github.io/qanda/
load: late
Expand Down

0 comments on commit a442744

Please sign in to comment.