Forums / Developer / custom tags

custom tags

Author Message

Fabien Audin

Tuesday 27 April 2010 5:45:03 am

Hi all,

I have one problem with a text editor. In the XML block's editor, there is a "custom tags" button, to add some tags like "video", "factbox", "quote"...

I want to allow users to copy embed code on youtube or dailymotion, and paste it in the "source" text field. But when I paste this embed code :

<object width="480" height="385">

<param  name="movie"  value="http://www.youtube.com/v/KsB0PrRUXWI&hl=en_US&fs=1&"></param>

<param  name="allowFullScreen" value="true"></param>

<param  name="allowscriptaccess" value="always"></param>

<embed  src="http://www.youtube.com/v/KsB0PrRUXWI&hl=en_US&fs=1&"  type="application/x-shockwave-flash" allowscriptaccess="always"  allowfullscreen="true" width="480" height="385"></embed></b><b></object>

the value recovered by ezpublish is :

<object widt

After many tests, I noticed that if I have the '=' caracter, the previous caracter is deleted with the rest of the original value.

I wish my english is understandable.

Thank you