473,503 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTML Validation Errors for Social Media Share links (Warning: unescaped & or unknown

1 New Member
I created a template that has Facebook, Twitter and LinkedIn share butotns (which share an event page). It works correctly however when I test it, however, when I do the HTML validation I get the following errors:

line 582 column 171 - Warning: unescaped & or unknown entity "&url"
line 585 column 62 - Warning: unescaped & or unknown entity "&url"
line 582 column 7 - Warning: <a> escaping malformed URI reference.

Here's the code being referenced:

582
<a href="http://twitter.com/share?text=Outreach%20Marketing%20Virtual%20Summit %20is%20back!%20Join%20us%20April%2028%20for%20thi s%20free,%20all-day,%20online event!&url=http://www.grouphigh.com/outreach-marketing-summit"

585
<a href="http://twitter.com/share?text=Outreach%20Marketing%20Virtual%20Summit %20is%20back!%20Join%20us%20April%2028%20for%20thi s%20free,%20all-day,%20online event!&url=http://www.grouphigh.com/outreach-marketing-summit"

Any idea how to get this HTML validated? The validation is through Marketo.
Mar 4 '15 #1
2 18505
TennzyAlyn
1 New Member
Hm, sounds complicated. Have you solved it?
Aug 16 '23 #2
AdmontYanko
3 New Member
It looks like the '&' in the URL might be causing the trouble. Try replacing it with '%26'. Also, for '&' in the text, use '&.' This helps with proper HTML escaping.
Aug 24 '23 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
1768
by: StevePBurgess | last post by:
I am trying to validate my website coding using the W3.ORG markup validator. Although there are some problems I am able to solve -I am getting lots of these messages: "Line 39, column 35:...
12
2232
by: Nalaka | last post by:
Hi, I suddenly started getting a lot of errors from html validation (some CSS) so I followed the following instructions to disable it. If you'd rather not have these types of HTML validation...
8
1766
by: goldtech | last post by:
Newbie esp about html validation - seems like something to strive for. Yet many pages even "enterprise" corporate type pages do not validate, yet seem to display well on most browsers. Two...
7
2379
by: jimrich | last post by:
Hi, using firefox browser and have a FrontPage built site: www.irenezart.com. used W3C markup validation service which came up with lots of errors in my index page. then I changed the doctype...
8
8456
by: emilio cohen | last post by:
We use social media and social networks websites like twitter and facebook for marketing our brand company. Is social networks and social media marketing and advertising is the right tool to attract...
1
2345
jschwarz
by: jschwarz | last post by:
I have a video library with a growing number of videos and alternate sorting views. Each video can be played on the same screen as the library page itself. Each video has a set of 4 social media...
9
9890
by: Gauravi | last post by:
I'd like some thoughts on why social media is important for businesses like ourselves when it comes to helping us rank in the search engines? What are some social media things we should be doing?
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7342
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7464
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4680
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1516
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.