[opencms-dev] OpenCMS deletes my HTML snippets class definition

Nick Panienski panienski at codecentric.de
Wed Feb 23 12:15:35 CET 2005


Hi there,

I use OpenCMS 6 alpha3 having a problem with a small HTML snippet which
looks something like this:

<a class="xyz" href="http://">Linktext <img border="0"
src="/system/modules/xyz/resources/img/yxz.gif"></a>

Now, when I include this snippet via the html gallery (wysiwyg editor)
everything's fine until I define the link for the <a> tag.

OpenCMS recodes the snippet to this:

<A 
href="/opencms/opencms/..../index.html" 
target=_self>Linktext <IMG 
alt="" 
src="/opencms/opencms/.../yxz.gif" border=0></A>)

The class information is gone. Ooops... any known workaround or solution for
this behaviour?! A page editor doesn't want to switch to SourceCode view and
enter the class manually, does he?!

Bye
Nick




More information about the opencms-dev mailing list