Markus/List:

Thanks for the earlier help, I was able to get that working in very  
short order.

Now I ran into another problem...

I wrote a class that subclasses SMWResultPrinter, and it works, except  
that when it returns its output, it's translating HTML tags into <  
and >--at least partially. It does something like the following:

<div id="slMap_1" style="width: 320px; height: 240px;"></ 
div>&lt;script type="text/javascript"&gt;var objFlags = {};

...allowing some tags (div, br, p) but not others (script, a). I know  
this can be fixed when writing your own parser function by including  
"'noparse' => true, 'isHTML' => true" as elements in the parser  
function return value array, but it looks like SMW doesn't set those  
for its parser function? Anyone know of a way around this? Or am I  
missing something? I need to output those script tags properly for  
this to work...

Thanks,

-Matt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to