Hello Thomas,
You should be inserting the MEC shortcode like this: [MEC id="17"]
because wrapping the shortcode with a <span></span>
will only give you an invalid HTML output.
Please be advised that the MEC shortcode will output a JS code:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Event",
"eventStatus": "https://schema.org/EventScheduled",
"startDate": "2021-07-27",
"endDate": "2021-07-28",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"location":
{
"@type": "Place",
"name": "EnjoyBIM Akademie",
"image": "https://www.enjoybim.de/wp-content/uploads/2021/07/IMG_0921_800x450_hq.jpg",
"address": "Karl-Frey-Str. 5, 70499 Stuttgart"
},
"organizer":
{
"@type": "Person",
"name": "EnjoyBIM",
"url": "https://www.EnjoyBIM.de"
},
"offers":
{
"url": "https://www.enjoybim.de/veranstaltungen/dynamo/",
"price": "799",
"priceCurrency": "€",
"availability": "https://schema.org/InStock",
"validFrom": "2021-07-27T00:00"
},
"performer": [{"@type":"Person","name":"Thomas Vogt","image":"https:\/\/www.enjoybim.de\/wp-content\/uploads\/2021\/06\/Thomas.jpg","sameAs":""}],
"description": "",
"image": "https://www.enjoybim.de/wp-content/uploads/2021/07/Dynamo-fuer-Revit-Vector-remake-v5_hq85.jpg",
"name": "Dynamo für Revit Basisschulung – Präsenz und Online (2 Tage)",
"url": "https://www.enjoybim.de/veranstaltungen/dynamo/"
}
</script>
This JS code will not be rendered by the builder thus displaying it as plain text. We highly recommend that you remove the text element and use the Raw Content element where you will insert the MEC shortcode instead. The Raw Content element has the option that you can disable the preview of any custom code or shortcode that you have added to it.
Hope this makes sense.