I am trying to add some code to my page and the YUI module is interferring with the formating of the code:

files="image1.jpg&&image2.jpg&&image3.jpg&&image4.jpg"
width="400" height="400" transition="random">

This is what YUI converts the code to:


<swflist player="wijering_imagerotator"
  files="image1.jpg&&image2.jpg&&image3.jpg&&image4.jpg"
  width="400" height="400" transition="random">

Comments

jcbrew’s picture

It might work if I use the < c o d e > tag...

This is the code I paste into my page:

<swflist player="wijering_imagerotator"
  files="image1.jpg&&image2.jpg&&image3.jpg&&image4.jpg"
  width="400" height="400" transition="random">

And this is what YUI turns it into:

<strong>
<DIV class=codeblock><CODE>&lt;swflist player="wijering_imagerotator"<br />&nbsp; files="image1.jpg&amp;&amp;image2.jpg&amp;&amp;image3.jpg&amp;&amp;image4.jpg"<br />&nbsp; width="400" height="400" transition="random"&gt;</CODE></DIV></strong>

Any help would be greatly appreciated!

bakyildiz’s picture

Assigned: Unassigned » bakyildiz

I will check.

bakyildiz’s picture

Actually yui-menu is intereted only with the menu item. Not with the page it self. If the menu item has a special character which needs to be converted to html equivalent like (&) to (&) YUI-Menu is converting those character. Is it possiple to give more information where you are inserting the avobe

jcbrew’s picture

I am using a standard content type and I am pasting the code into the body field... This is were the YUI is "attached".

Using the YUI I am unable enter html or php code... In order for me to use the html or php code I have to first disable the YUI module.

I need to clearify... I am using the YUI Rich Text Editor module along with the YUI module. I am not using the menu module.

bakyildiz’s picture

Status: Active » Closed (fixed)

Please, can you open a new issue on rich text editor module page with refferring this page in your new report.

jcbrew’s picture

Okay - here is the new report : http://drupal.org/node/254889