July 19, 200520 yr Hello all, I have two layouts related to the same table, one is called 'detail' and the other (obviously -) ) list. Both of the layout contains a field (text unformatted) called 'Description'. I publish this field on the web (one page to obtain a list of records, the second page to display the detail) using fmxsl:break_encode() function. I really don't know why but the detail descritpion is well formatted (the code shows all the tag properly ex: < br /> or special chars like & etc..), the list version encode the source so I get < br /< and &am;amp; in my HTML and the reulst is that the browser display < br /> or &.. I thought it could be an 'header' problem but the headers of the files are the same.. what could be the cause of this strange behavior?? Tnx in advance!
July 19, 200520 yr Author here's the solution.. the fmxslt:break_encode() function (or fmxslt:html_encode() function) works only if 'disable-output-escaping' attribute in xsl:value-of tag is set to 'yes'.. now it works! Edited July 19, 200520 yr by Guest
Create an account or sign in to comment