Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-12-17 11:16:11
- inkywillow
- Member
- From: France
- Registered: 2009-12-22
- Posts: 37
Help! Img tag problem
Txp has started removing the trailing slash from img tags???
Any ideas?
The Design Works – Freelance website designer
Offline
Offline
#3 2010-12-17 13:08:47
- inkywillow
- Member
- From: France
- Registered: 2009-12-22
- Posts: 37
Re: Help! Img tag problem
Sorry it looks as it might be a firefox/firebug bug. Great, that’s 2 hours of might life I won’t be getting back!
Anyhoo I had the following code in a txp form:
<img src="<txp:site_url/>images/1.gif" width="220" height="1" alt="divider" />
But I was getting this output in both the Firebug window and my local html validation tool:
<img width="220" height="1" alt="divider" src="http://192.168.1.72:8888/gz/images/1.gif">
Note that the trailing back slash is missing.
However, when I view source in either FF or safari the back slash reappears
I need a new job…
The Design Works – Freelance website designer
Offline
Pages: 1