Issue
Please check the below code
<!-- Calendly inline widget begin -->
<div class="calendly-inline-widget" data-url="https://calendly.com/example/chat?text_color=202a3b&primary_color=4eaf4e" style="min-width:800px;height:800px;"></div>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js"></script>
<!-- Calendly inline widget end -->
I am trying to add this code as an HTML block in my WordPress website powered by Elementor Pro. I am getting the error name entity expected, got none for the div section.
What is causing this?
Solution
The character & starts an entity.
&primary_color isn't a valid entity, hence the error.
The & should be represented by the entity for & which is &.
Answered By - Quentin
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.