XPages SPAN tags round computed fields

I am wanting to create an array of data in client side javascript and have written the script straight into the source of my xpage. I am wanting to parse some field values from a document data source using a computed field. I have set the content to HTML but it still seems to wrap the contents of the value with SPAN tags. I have tried removing the ID property but with no luck.

Is there anyway to prevent SPAN tags from being wrapped around the computed fields output so just the raw content is parsed?

Subject: Resolved

Got round this issue with escape=“false” disableTheme=“true” and deleting the id parameter.