From ahahn@gmx.net Mon May 10 14:44:35 2010 From: Andreas Hahn To: xwiki-users@xwiki.org Subject: Re: [xwiki-users] HTML Macro browser dependent ? Date: Mon, 10 May 2010 14:44:17 +0200 Message-ID: <4BE7FFA1.8040402@gmx.net> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4849971193350807703==" --===============4849971193350807703== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Vincent, thanks for your fast response. Sure html is wrong. I should have noticed that. thanks again Andreas Vincent Massol schrieb: > Hi Andreas, > > On May 10, 2010, at 11:57 AM, Andreas Hahn wrote: > > =20 >> Unless I'm doing something very stupid I'd think the HTML macro shows=20 >> some weird browser dependent behaviour: >> >> {{html}} >> >> {{/html}} >> >> Works as expected with firefox 3.x / Safari >> Doesn't work in IE 7/8 and Chrome. >> >> The {{html}}-embedded code is missing in the page output for these browser= s. >> >> When examining the page with Firebug I also noticed that the *listItem*=20 >> example on >> http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro >> renders unexpectedly. >> >> Firebug reveals >> >> >> ... >> >> ... >> >>
>> >> Neither nor 'class=3D"star" ' are part of the example source so=20 >> this example is either a fake or the macro shows undocumented behaviour. >> >> IMHO the macro should just write its raw output to the page not=20 >> depending on any other circuumstances. >> >> The macro example page and I guess all of >> http://code.xwiki.org are looking crippled on IE7 as the content area is=20 >> clipped. >> >> Wiki version is 2.3 M1 >> =20 > > * No, the macro is not browser-dependent > * HTML *is* browser-dependant > * the html macro generates valid XHTML by default so if you introduce an er= ror in your HTML it'll get fixed somehow. For ex in your input above you're m= issing a closing > > * if you don't want valid XHTML you should use clean=3D"false", see http://= code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro > > Thanks > -Vincent > > _______________________________________________ > users mailing list > users(a)xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > =20 --===============4849971193350807703==--