Help me!Can't save [rel="xxx"] property in hyperlink
| darkseeker |
|
|---|---|
|
I tried to add rel="gallery" in hyperlinks. For example:
But [rel="gallery"] always disappeared after article was published. It displayed like this:
Could you please help me to solve this problem? Added 1 hours later: It seems like a "html purifier" problem~
Отредактировано: darkseeker (12.03.2014 16:03, 11 лет назад)
|
| Slaweally |
|
|---|---|
<a href="xxx" rel="gallery" >demo</a> Herşey bitti...
|
| darkseeker |
|
|---|---|
|
It was siena 0.9.12 that time,problem solved after updating to 0.9.16 |
| Macik |
|
|---|---|
Yes. It can be HTMLPurifier. To Allow use:
$config->set('Attr.AllowedRel', 'gallery1,gallery2,gallery3,gallery4');
See themes:
https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F |
| darkseeker |
|
|---|---|
#39282 Macik: Many thanks! |