473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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

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 18464
TennzyAlyn
1 Bit
Hm, sounds complicated. Have you solved it?
Aug 16 '23 #2
AdmontYanko
3 2Bits
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
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
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
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
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
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
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
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...
0
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...
0
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...

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.