[wp-trac] [WordPress Trac] #42802: Custom HTML widget validation error
WordPress Trac
noreply at wordpress.org
Tue Dec 5 20:49:28 UTC 2017
#42802: Custom HTML widget validation error
-------------------------------------+-------------------------------------
Reporter: markemark | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 4.9.1
Severity: normal | Resolution:
Keywords: reporter-feedback dev- | Focuses: javascript,
feedback | administration
-------------------------------------+-------------------------------------
Changes (by sasiddiqui):
* keywords: reporter-feedback => reporter-feedback dev-feedback
Comment:
@markemark You are getting error due to the quotation issue on type and
src. You need to define the type and src attribute in double quotes
instead of single quote.
So, Your code something looks like this:
{{{
<div class="cta_addtocart">
<h3>Sober Intervention Training</h3>
<p>(Course Delivered in English)</p>
<p class="space">Just 20 places in total</p>
<p class="days">3 DAYS - Friday 16th February 2018 - Sunday 18th February
2018</p>
<p class="where">Tegnérgatan 24, 113 59 Stockholm, Sweden</p>
<script type="text/javascript"
src="https://www.universe.com/embed2.js"></script>
[x_button type='flat' shape='rounded' size='large'
href='https://www.universe.com/events/sober-academy-sober-intervention-
training-tickets-9TFQX2' title='Sober Intervention Training -
Stockholm']Get Tickets[/x_button]
</div>
}}}
Hope, it helps you :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42802#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list