Extra \ in my <a href> tags - How to stop this?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Aug 07, 2013 8:23 am
Reply with quote
Report this post
Hello!

Everytime I try to create an <a href> it puts an extra \ in the tag and it messes up the link.

For example
fill out our <a href=\"index.php/contact-us\" title=\"Contact\">contact form</a> and we will contact you as soon as possible.


See the \ after the = ?
It gets there everytime I save. If I save a couple of times the \ multiplies like this:

fill out our <a href=\\\"index.php/contact-us\\\" title=\\\"Contact\\\">contact form</a> and we will contact you as soon as possible.


:dry:

Site is http://www.delosguides.com
Template Simplicity
Joomla 3.x

I can provide backend codes if needed.

Thank you
User avatar
Senior Boarder

GK User
Wed Aug 07, 2013 3:42 pm
Reply with quote
Report this post
It seems like magic_quotes php flag problem to me.
User avatar
Moderator

GK User
Fri Aug 09, 2013 8:25 am
Reply with quote
Report this post
Cyberek wrote:It seems like magic_quotes php flag problem to me.


ok, and how do we fix this?
User avatar
Senior Boarder

GK User
Fri Aug 09, 2013 9:51 pm
Reply with quote
Report this post
You need to test it - it depends on hosting company.
Check it out with use of <?php phpinfo(); ?> placed in new .php file placed somwhere on your hosting server so You can access it online.
If Magic_quotes are enabled You need to contact your hosting provider and ask how to deal change this setting.
User avatar
Moderator


cron