I'm trying to enable users to pass some HTML into an XSLT which editors can call from a Macro Container datatype. If I setup either a Text or TextMultiLine field on the macro, when I pass any HTML into the macro it seems to screw around with the HTML and not output properly.
HTML in Parameters in Macro Container
Guys,
I'm trying to enable users to pass some HTML into an XSLT which editors can call from a Macro Container datatype. If I setup either a Text or TextMultiLine field on the macro, when I pass any HTML into the macro it seems to screw around with the HTML and not output properly.
So the following is the XSLT Macro
So when I don't put any HTML into the bodyText parameter I get output like this....
...totally what I was expecting.
When I stick a single <br/> tag into bodyText like this....
For jobs in Risk:<br/>Call: 0207 601 6000 Email: [email protected]
...then I get output like this....
Should have mentioned this is Umbraco 4.7.0
Does the same happen if you insert non-self-closing HTML (e.g. a <p>some text wrapped by a paragraph</p>) rather than a self-closing tag like <br />?
is working on a reply...