[opencms-dev] jtidy (probably) problem

Carl Alex Friis Nielsen cfn at kb.dk
Mon Sep 11 12:33:36 CEST 2006


Hello,

I am working on integrating an erez server providing images to OpenCms
content using the FCK editor.

At this point I can get an erez URL and put that into an img tag
in the FCK editor and the image is displayed as desired in the editor
and in the preview.

But when I save the content (or pres thye "Cleanup HTML code") the img
tag is transformed into something useless.

The file being edited is /sites/default/demopages/index.html

The correct tag is :
(x.y.z inserted instead of the real server address)

<img alt="" src="http://x.y.z/erez3/erez?src=Samples/Macbeth%20color%20samples/Adobe%20RGB.tif&tmp=Medium" />

The result after tidying varies but is always useless -
the latest example is:

<img alt="" src="/opencms/opencms/demopages/Samples/Macbeth _fcksavedurl=" opencms="" demopages="" color="" adobe="" samples="" />

How can I tell the editor to leave the src attribute unchanged ?

Or turn the stupid tidying off entirely.

And am I the only one who thinks this crappy behaviour should be considered
an egregarious bug.

cheers,

Carl



More information about the opencms-dev mailing list