フォーラム: Forum (en) (スレッド #16846)

tags <img/> and <link ... /> in template (2007-11-27 17:43 by 匿名 #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 ?

メッセージ #33588 への返信×

Wiki文法は使えません
ログインしていません。投稿を区別するために投稿者のニックネームをつけてください(ニックネームの一意性は保証されません。全く別の人も同じ名前を利用することが可能ですので本人であることの特定には利用できません。本人であることを保証したい場合にはログインして投稿を行なってください)。 ログインする

RE: tags <img/> and <link ... /> in template (2007-11-27 22:31 by 匿名 #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
#33588 への返信

メッセージ #33597 への返信×

Wiki文法は使えません
ログインしていません。投稿を区別するために投稿者のニックネームをつけてください(ニックネームの一意性は保証されません。全く別の人も同じ名前を利用することが可能ですので本人であることの特定には利用できません。本人であることを保証したい場合にはログインして投稿を行なってください)。 ログインする