HTML is showing as text
-
I am using two widgets for Elementor.
1- Post Accordions
2- Block Quote CardI am getting the content from “Custom Fields Pro (ACF)”
There are html tag which are not working on the front-end. Instead of converting as HTML, it is showing codes/text.
e.g. (Block Quote Card) On browser it is showing like this “<p>”His knowledge, manner with clients and composed nature are second to none.”</p>”
And when I see in Developer Mode “& l t ; p & gt;”His knowledge, manner with clients and composed nature are second to none.”& amp; l t;/p & gt;”
e.g. (Post Accordions) on browser it shows like ““clear, concise, and robust”, and speak of his “”
And when I see on developer mode ““clear, concise, and robust”, and speak of his “”
CODE
Following is Block Quote Card:
<div class=”blox-border-left-blockquote” style=”text-align:left;box-shadow: none !important;”> <div class=”blox-content” style=” border-color:{{border_color}}; “> <!–<i style=”background-color:{{icon_bg_color}}; ” class=”{{icon}}”></i>–> {% for item in current_post.cf_quotes %} <div class=”blox-box” style=”font-family: Georgia; color:#857785; font-size: 16px; font-weight: 400;”> {{item.quote}} </div> <div style=”font-family: Georgia; color:#857785; font-size: 12px; font-weight: 400;” class=”blox-author”>{{item.cite}}</div>{% endfor %} </div> </div>
Following is Post Accordion
{% if post == false %} No Accordion Items Found {% else %} <html> <div class=”uc_material_accordion” id=”{{uc_id}}”> <div class=”uc_container”> {% for item in current_post.cf_repeater %} <div class=”uc_ac_box”> <div class=”uc-heading uc_trigger-{{uc_id}}” id=”{{uc_id}}”> {% if show_icon == “true” %} <span class=”{{icon}} uc_dactive bbb ue_accordion_icon”></span> <span class=”{{icon_active}} uc_active bbb ue_accordion_icon”></span> {% endif %} <span class=”ue_heading_title”>{{item.title}}</span> </div> <div class=”uc_content”> <span>{{item.description}}</span> </div> </div> {% endfor %} </div> </div></html> {% endif %}
- The topic ‘HTML is showing as text’ is closed to new replies.