Forums / Cotonti / Support / htmlpurifier stripping relationship attribute from hyperlinks [FIXED]

Hodges
#37330 2013-03-29 17:25

Hi there,

In order to make fancyBox operate in "gallery-mode" the rel attribute needs to be set to "gallery1". Unfortunately, although CKEditor can insert the required html into the editing source, once the page is submitted, the rel attribute is stripped. I can brute-force it in phpMyAdmin to make it work, but that is an ugly workaround.

Any ideas?

Cheers,
Hodges

Example: link1

Code:

<a href="#" rel="gallery1">link1</a>

 

This post was edited by Hodges (2013-03-29 21:36, 11 years ago)