Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
UPDATE to UPDATE:: Something REALLY odd is happening whereby pages with IMAGE MAPS are changing code and really screwing around. Even put the image map stuff in a textarea - e.g. NO formatting. Page is getting totally corrupted.

UPDATE:: I think it's the CKEditor - when you save it ignores HTML and escapes it - so <map tag for example is being converted. I have some tag like <o:p></o:p in the html which when saving via the editor is encoding as characters and not keeping as source.

THIS IS A REAL URGENT PROBLEM FOR THE MAP TAG AS IT'S USED IN THE SITE
SEE: http://www.reallyyouthful.co.uk/treatments.php

Just this last day I've noticed that some tags that are not common html tags are coming up as escaped characters, and not rendered - see page http://www.reallyyouthful.co.uk/treatments.php (the map and other characters). It's only just happened.

The only thing that's changed is I've added another user...

Help please

Added: I notice that when the editor (CKEditor) saves with html characters that do not conform (e.g. saving <o:p></o:p> replaces the html with escaped characters?
18-11-2011 17-55-54.png
Screenshot of what's happening :(
18-11-2011 17-55-54.png (46.38 KiB) Viewed 3693 times
Hi Jonathan,

The behaviour you noticed is the normal default behaviour of Couch where, as a security measure against XSS, it tries to 'neutralize' HTML tag that could be put to malicious use.

You can, if you wish, turn off this security measure (supported only by 'textarea' editable regions) by using the no_xss_check='1' as a parameter of the editable region.
e.g.
Code: Select all
<cms:editable 
    name='image_map'
    no_xss_check='1'
    type="textarea"
/>

Add the mentioned parameter to the textarea you are using, input the map code again and it will be outputted onto the webpage without any modification at all.

Hope this helps.
2 posts Page 1 of 1
cron