contao/test — Issue #504: insert tag parameters for insert tag 'file' misbehave
Author: importer
Created: 2011-11-28 16:55:36+00:00
State: open

The parameters after the insert tag are treated differently for the 'image' and the 'file' insert tags. Why ? Shouldn't this be the same code ?

The problem is that a '&' (ampersand) is escaped as '[&]' in the TinyMCE. When parsing the insert tag parameters, this escaping should be reversed (from '[&]' back to '&') which is the case for the 'image' insert tag but not for the 'file' insert tag.

I assume that the 'image' insert tag handles insert tag parameters correctly and that code should be applied to the 'file' insert tag as well.

--- _Originally created by ahouben on February 10th, 2009, at 04:01pm (ID 504)_