Copied to clipboard

Flag this post as spam?

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


  • Hans Peter Vith 2 posts 22 karma points
    May 25, 2010 @ 12:41
    Hans Peter Vith
    0

    Umbraco removes whitespaces from time to time

    Maybe some of you know about this issues. From time to time Umbraco suddenly strip off whitespaces in a sentence of words. We use this XSL-T snippet to pull out the content. 

    <xsl:if test="$currentPage/data [@alias = 'nlTitle']/text()">

    The content of the nlTitle field is held in a Rich text field.

    The lates problem happened on a Umbraco 4.0.2.1 installation, running on a .net 2.0 (3.5) on Windows 2003. Any help will be greatfull.

  • Hans Peter Vith 2 posts 22 karma points
    May 25, 2010 @ 14:23
    Hans Peter Vith
    0

    I found the solution to this strange behavior. It turns out that the problem only occours, when the output is used together with the function: umbraco.library:RemoveFirstParagraphTag('some HTML markup here'). 

    It seems that there is a bug in this Umbraco function. Read more here:

    http://our.umbraco.org/forum/developers/xslt/6397-Temporary-workaround-for-RemoveFirstParagraphTag-bug

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies