Copied to clipboard

Flag this post as spam?

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


  • Ron Brouwer 273 posts 768 karma points
    Nov 23, 2009 @ 09:23
    Ron Brouwer
    0

    Minor issue with umbraco.libary.RemoveFirstParagraphTag(string text)

    Hi,

    There is a minor isssue with umbraco.libary.RemoveFirstParagraphTag(string text). It sometimes results in words joined togetter.

    The solution is the following:

    Replace:
    text = text.Trim().Replace("\n", string.Empty).Replace("\r", string.Empty);
    With
    text = text.Replace("\n", " ").Replace("\r", " ").Trim();

    Please vote on CODEPLEX: http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=25431

    Ron

Please Sign in or register to post replies

Write your reply to:

Draft