[Building Sakai] <map> and <area> tags in FCKEditor

Shoji Kajita kajita.shoji.5z at kyoto-u.ac.jp
Tue Mar 10 08:32:15 PDT 2015


Hi there,

We are trying to use <map> and <area> tags in FCK HTML Editor for sakai-2.9.3 but these tags are sanitized as follows:

<img alt="s1" src="https://FQDN/access/content/group/c7dd12a1-1466-4a0d-ab2a-645eb0f4daf5/xxx.png" style="width: 960.0px;height: 720.0px;" usemap="#s1" />&lt;map name=&quot;s1&quot;&gt; &lt;area alt=&quot;rireki&quot; href=&quot;https://FQDN/access/content/group/xxx.doc&quot; shape=&quot;rect&quot; coords=&quot;296,274,356,295&quot;&gt; &lt;area alt=&quot;rei&quot; href=&quot;https://FQDN/access/content/group/xxx.xlsx&quot; shape=&quot;rect&quot; coords=&quot;355,277,375,295&quot;&gt; &lt;area alt=&quot;en&quot; href=&quot;http://FQDN2/wp-content/uploads/ea.docx&quot; shape=&quot;rect&quot; coords=&quot;207,302,400,322&quot;&gt; &lt;area alt=&quot;setsumei&quot; href=&quot;FQDN3/uploads/setumei.doc&quot; shape=&quot;rect&quot; coords=&quot;207,327,284,347&quot;&gt; &lt;area alt=&quot;doui&quot; href=&quot;FQDN3/uploads/douisyo_140917.doc&quot; shape=&quot;rect&quot; coords=&quot;465,327,544,347&quot;&gt; &lt;area alt=&quot;ku&quot; href=&quot;http://FQDN2/wp-content/uploads/ebd8.doc&quot; shape=&quot;rect&quot; coords=&quot;216,379,363,397&quot;&gt; &lt;area alt=&quot;ha&quot; href=&quot;https://FQDN/access/content/group/99.docx&quot; shape=&quot;rect&quot; coords=&quot;217,422,424,438&quot;&gt; &lt;/map&gt;</p>

The AntiSamy settings are as follows:

### disable AntiSamy
content.cleaner.use.legacy.html=true
content.cleaner.default.low.security=true

So, it is not caused by AntiSamy…

Do you have any suggestions?

Best regards,
Shoji
-----
Shoji Kajita, Ph.D
http://about.me/shojikajita



More information about the sakai-dev mailing list