Forums: Forum (en) (Thread #16846)

tags <img/> and <link ... /> in template (2007-11-27 17:43 by Anonyme #33588)

Hi !
I am using Amrita 1.0.2 on Debian. I have the following problem : when I try to put some tags to include a link to a css stylesheet or a image, then in the generated html file, the last / in the tag disappears, resulting in a non valid xhtml file.

I could replace <img /> by <img></img> but I don't think it will work with <link .... /> (every time I tried, it ended up with a parsing error).

What could I do to make it work ?

Répondre à 33588×

You can not use Wiki syntax
Vous n'êtes pas connecté. Pour distinguer vos messages en provenance du reste, vous devez choisir un surnom. (L'unicité du surnom est pas réservé. Il est possible que quelqu'un d'autre pourrait utiliser exactement le même surnom. Si vous voulez l'assurance de votre identité, nous vous recommandons de vous connecter avant de poster.) Connexion

RE: tags <img/> and <link ... /> in template (2007-11-27 22:31 by Anonyme #33597)

I think I found the answer myself. I set asxml to true and it did the job (it seems).

Thank you for this great ruby librairy !!

Best regards,

C&#233;dric
Répondre à #33588

Répondre à 33597×

You can not use Wiki syntax
Vous n'êtes pas connecté. Pour distinguer vos messages en provenance du reste, vous devez choisir un surnom. (L'unicité du surnom est pas réservé. Il est possible que quelqu'un d'autre pourrait utiliser exactement le même surnom. Si vous voulez l'assurance de votre identité, nous vous recommandons de vous connecter avant de poster.) Connexion