[kupu-dev] Avoid filtering of specific attribute

Duncan Booth duncan.booth at suttoncourtenay.org.uk
Fri Oct 5 15:38:46 CEST 2007


Max M <maxm at mxm.dk> wrote:

> So at least when I am trying to call it in kupuploneinit.js in
> function initPloneKupu(), it is not possible to use
> includeTagAttributes. Seemably because it has no prior attributes set.
> 
Very strange. I just added a line:

    	kupu.xhtmlvalid.includeTagAttributes(['span'],['random']);

to kupuploneinit.js right after the line:
      kupu.setHTMLBody(initialtext);

and it works fine for me. I stepped through the code as well, and it all 
executes quite happily.




More information about the kupu-dev mailing list