Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Probert 21 posts 45 karma points
    Nov 16, 2009 @ 12:24
    Simon Probert
    0

    RTE inserts "\r\n" into macro when creating imagegenned sub headings

    Hi All,

    Not sure if this is Imagegen, in fact it probably isn't its more to do with the RTE, but basically I have created a macro that passes the title text, height width, colour etc ... it then renders the image using imagegen, problem is sometimes it works fine but sometimes when you save ( or more often when you save a second time ) RTE sticks all these "\r\n" into the text bit.

    I ended up working around it by doing the following:

    <xsl:variable name="titleText2" select="Exslt.ExsltStrings:replace($titleText, '\r\n', ' ')"/>

    But this seems a little clumsy.

    I also tried turning off render preview in editor... maybe that will help... but it didn't much

     

    Any ideas?

    Thanks!

    SP

     


  • Tom 50 posts 100 karma points
    Nov 16, 2009 @ 13:26
Please Sign in or register to post replies

Write your reply to:

Draft