AnFrusch@pepp Posted July 19, 2005 Posted July 19, 2005 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!
AnFrusch@pepp Posted July 19, 2005 Author Posted July 19, 2005 (edited) 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, 2005 by Guest
Recommended Posts
This topic is 7404 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now