I have since discovered that editing $DAISY_HOME/dasiywiki/webapp/daisy/resources/conf/htmlcleaner.xml will allow for modifications to be made to these "cleaning" rules. For example: we wanted to be able to write out 'a' tags with class attributes within the editor. This change was made possible by editing htmlcleaner and making the following adjustments (for example):
<!-- linking -->
<element name="a">
<attribute name="href"/>
<attribute name="class"/>
</element>
0 comments:
Post a Comment