« Return to Thread: Question about extending the SimpleDocument to allow the addition of class attributes.

Re: Question about extending the SimpleDocument to allow the addition of class attributes.

by Alex Bleasdale :: Rate this Message:

Reply to Author | View in Thread

Hi,

Managed to find what looks like a solution for this: in $DAISY_HOME/dasiywiki/webapp/daisy/resources/conf there's a file called htmlcleaner.xml I edited that, restarted the repository and the wiki and it worked.  Hope that helps.

Example (to allow adding class attributes to links):

      <!-- linking -->
      <element name="a">
        <attribute name="href"/>
        <attribute name="class"/>
      </element>

 « Return to Thread: Question about extending the SimpleDocument to allow the addition of class attributes.