Copied to clipboard

Flag this post as spam?

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


  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 18, 2010 @ 09:42
    Jan Skovgaard
    0

    Behavior of umbraco.library:RemoveFirstParagraphTag

    Hi

    In our company we just noticed some strange behavior when using the RemoveFirstParagraphTag XSLT extension.

    We have a rich text field, from which we want to strip out the first paragraph but otherwise render the rest of the HTML formatting.

    The raw content from the field looks like this <p><span>some text with a <a href="http://www.example.com">link</a>goes here</span></p>

    So we remove the paragraph using the extension, but then the a tag is getting messed up. In the output it's written like

    <ahref="http: www.example.com="">link</ahref="http:>...

    Is there a workaround for this or should it be considered a but, that should be reported on codeplex?

    For now we'll just use the replace extension to get rid of the paragraph.

    /Jan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 18, 2010 @ 09:48
    Jan Skovgaard
    0

    whoops, minor typo in here "Is there a workaround for this or should it be considered a but, that should be reported on codeplex?"...would have been funny if there was an extra "t" in there...:) - off course it should read "bug" :-)

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 18, 2010 @ 10:06
    Douglas Robar
    0

    Definitely a bug. Please report it.

    cheers,
    doug.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 18, 2010 @ 10:50
    Jan Skovgaard
    0

    Ok I'll file it on codeplex later today

    /Jan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 18, 2010 @ 22:57
    Jan Skovgaard
    0

    Just found out that there already is reported bugs with this datatype here: http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=23386 - just added a comment about the issue described in the first post

  • Rich Green 2246 posts 4008 karma points
    Sep 16, 2010 @ 12:49
    Rich Green
    0

    Got this problem too, seems like it never got fixed, anyone got a work around?

    Rich

  • Rich Green 2246 posts 4008 karma points
    Sep 16, 2010 @ 12:55
Please Sign in or register to post replies

Write your reply to:

Draft