[ic] Admin meta editor preserves newlines?

Jeff Boes jeff at endpoint.com
Wed Feb 11 15:33:15 UTC 2009


I have a complex "Append HTML" field in the table editor that looks like this:

[if explicit][condition]'_UI_VALUE_'[/condition]
<br/>
<a href="[area href="admin/edit_image"
 form=|
image=/citypass/images/upload/regular/_UI_VALUE_&return=admin/flex_editor?item_id=_UI_KEY_&mv_data_table=_UI_TABLE_
|]" style="vertical-align: middle">
<img border="0" alt="_UI_VALUE_" style="margin: 5px"
src="/citypass/images/upload/thumb/_UI_VALUE_?[time]%s[/time]">
<br/>
Click to edit image</a>[/if]

It appears in the mv_metadata.asc file with "^M" characters embedded. This
causes a problem for some browsers when these end up in the URL as "%0d" characters.

Should the "Prepend HTML" and "Append HTML" fields preserve newlines like this?
or should they be stripped, or translated to spaces? It seems the only way I can
correct this issue at present is to directly edit the mv_metadata.asc file.

-- 
Jeffery Boes  <><
jeff at endpoint.com



More information about the interchange-users mailing list