Reputation: 54113
I have this:
<span class="fc-event-title" style="background-color:#5E37AD;border-color:#5E37AD">1.test fred 5 <i>(9.5h)</i></span>
and I see it like this:
I cannot change the span tag, that is part of fullcalendar. What could I do to see italics rather than the tag itself?
Thanks
Upvotes: 0
Views: 90
Reputation: 85046
To expand on @donderpiet's answer, <
and >
are encoded versions of < and >.
So if you have <div>hey</div>
in your code it will be rendered as hey
, but if you encode the greater/less than signs like so: <div>hey</div>
it will be rendered as <div>hey</div>
.
Hope that makes sense.
UPDATE
Based on your comment you will want the HtmlDecode or HtmlEncode functions.
Upvotes: 0
Reputation: 1639
Change this:
1.test fred 5 <i>(9.5h)</i>
To this:
1.test fred 5 <i>(9.5h)</i>
Upvotes: 3