View Full Version : HTML trouble with my site.
Vertigo51
Oct 27th 2006, 11:41 am
I'm trying to edit my site. Everything is fine, except when I use apostrophes.
For instance, "We're expanding our reach", shows up on the web page as:
"We\re expanding our reach." This happens everytime I use an apostrophe.
Anyone have any helpful info? Spent all last night googling "Html tags", but couldn't find anything related to apostrophes.
Yinten
Oct 27th 2006, 1:02 pm
Since HTML uses " " to denote elements, in a way, like <div class="whatever">, it separates what is writing from real HTML by using a \ afterwards.
If your coding entirely correct? It shouldn't have that problem if it is. If not, you'll have to do "\ after your coding to make it show up as " on your website.
jestep
Oct 27th 2006, 1:52 pm
Are you using a blog or other WYSIWYG editor?
It sounds like php is adding slashes to your input and not removing them when the content is displayed. If you have content stored in a database it is common for php to use addslashes() when data is put into the database. It souds like your script is not using stripslashes() when the data is parsed back to html from the database.
mirturk
Oct 27th 2006, 3:16 pm
If you want send us code and we solve problem and after wsend to you.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.