Skip to content
Snippets Groups Projects
Commit 0565ecc5 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix missing RTE parsing of the description inside the JSON schema

parent 2d714adf
No related branches found
No related tags found
No related merge requests found
......@@ -6,14 +6,12 @@
"@context": "https://schema.org/",
"@type": "JobPosting",
"title": "{job.title}",
"description": "<f:format.htmlentities>{job.description}{job.task}{job.qualification}</f:format.htmlentities>",
"description": "<f:format.htmlentities><f:format.html>{job.description}{job.task}{job.qualification}</f:format.html></f:format.htmlentities>",
"employmentType": [
<f:for each="{h:explodeString(string: '{job.employmentTypes}', delimiter: ',')}" as="employmentType" iteration="iterator">
"{employmentType}"{f:if(condition: '{iterator.isLast} == FALSE', then: ',')}
</f:for>
],
"datePosted": "{f:format.date(date: '{f:if(condition: job.datePosted, then: job.datePosted, else: \'now\')}', format: 'Y-m-d')}",
<f:if condition="{job.validThrough}">
"validThrough": "{f:format.date(date: job.validThrough, format: 'Y-m-d')}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment