i have an extension with a multiline property
once i enter the text and run a preview it shows the encoded characters instead of the html tag
<some&gr; is generated instead of <some>
i tried the multiline, richtext and htmlbox, with the same result
the property in question is a dataset and i'm using an xsl template, the header is:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" version="4.0" indent="yes"/>
<xsl:template match='/'>
i think that it is not related to the xsl, but wb is enconding these chars when it generates the html
also tried options / html -> enable/disable html encoding and didn't help
am i overlooking something?
thanks in advance
properties / encoded chars
Forum rules
This forum section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
This forum section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Re: properties / encoded chars
All text that you enter through properties will be encoded. This is behavior by design.
Re: properties / encoded chars
so the multiline, richtext and html properties type have no sense at all
Re: properties / encoded chars
i did another test
if i have a multiline property it works fine (not encoded)
BUT
if i have the same property in a data collection (dataset) wb encodes the property value
can you disable the properties-values encoding in a dataset and leave this thing as it is in a standard property?
thanks again
if i have a multiline property it works fine (not encoded)
BUT
if i have the same property in a data collection (dataset) wb encodes the property value
can you disable the properties-values encoding in a dataset and leave this thing as it is in a standard property?
thanks again
Re: properties / encoded chars
Yes, they control which text editor will be displayed to use user.so the multiline, richtext and html properties type have no sense at all
That is because data sets are XML, so the data must be encoded otherwise it will corrupt the XML structure.if i have the same property in a data collection (dataset) wb encodes the property value
Re: properties / encoded chars
got itThat is because data sets are XML, so the data must be encoded otherwise it will corrupt the XML structure.
thanks
em... what about backslashes? \< and \> instead of encoding?
Re: properties / encoded chars
No, I don't think that is possible.
Re: properties / encoded chars
ok thank you
(however i would give it a try)
(however i would give it a try)
Re: properties / encoded chars
just fyi
i solved it, i forgot to set this up programatically in the xsl file - now it works fine
thanks
i solved it, i forgot to set this up programatically in the xsl file - now it works fine
thanks