Sounds like it could be caused by a filter. Are you using Markdown or Textile for any of the snippets or page parts? Be aware that whitespace is significant to both (?) of these filters. e.g. in Markdown[1], if you end a line with 2 or more spaces, it is interpreted as a line-break (i.e. <br>).

Drew

[1]: http://www.wishingline.com/downloads/documentation/markdown_cheatsheet.pdf


On 29 Dec 2008, at 16:01, Jon Hope wrote:

I've just prepared a whole site using the Radiant CMS and I'm happy with how it looks etc but when I deploy it to my server there are little bits
of code appearing that shouldn't be there!

For example there are <br /> tags appearing in a list of images that are left floated, so they stagger downwards instead of being displayed in a
line...

And on one page the styled comments look great and on another the
'clearing' tags have been left out so they're mushed up into each
other... yet both pages use the same snippet to render the comments and
it CONTAINS the clearing tags!!!

I tried emptying the cache but it's done nothing. The only thing I can
think of is that these are throwbacks to earlier code, like when the
images were text links with <br /> tags after them, that have somehow
got resurrected when I deployed...

I just can't figure it out though, anyone got ANY suggestions?!

Thanks,

Jon
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to