[opencms-dev] How do I stop <LINK /> behavior when saving "Page" type file?

Thomas Joseph Olaes thomas.olaes at gmail.com
Wed Jul 28 19:19:02 CEST 2004


---------- Forwarded message ----------
From: Thomas Joseph Olaes <thomas.olaes at gmail.com>
Date: Wed, 28 Jul 2004 10:05:48 -0700
Subject: How to stop <LINK /> behavior when saving "Page" type file
To: opencms-dev-request at opencms.org

Hello!

Has anyone come across this? I make a new file of type "Page", and
type the following into it:

<![CDATA[<a href="/mydir">my directory</a>]]>

And I save this file as (root folder)/test.html.

Then, in MySQL, I do

select f.file_content
from cms_files f
  inner join cms_resources r on f.file_id=r.file_id
where r.resource_name = '/default/vfs/system/bodies/test.html';

and I get

(snip)

<![CDATA[<a href="]]><LINK><![CDATA[/mydir]]></LINK><![CDATA[">My
Directory</a>]]>

(snip)

So my question is this, instead of the above, I want to see:

<![CDATA[<a href="/mydir">My Directory</a>]]>

is there a config item I can set where this behavior is disabled?

Thanks in advance for any help.

-TJ



More information about the opencms-dev mailing list