Hyperlink encloses entire paragraph

2 posts, 0 answers
  1. Mirko
    Mirko avatar
    1 posts
    Member since:
    Mar 2009

    Posted 20 Oct 2009 Link to this post

    Hello world,
    I am working with editor version
    When (accidently) selecting a whole paragraph and converting the selection into a hyperlink using the hyperlink manager, the resulting 'a'-tag contains the 'p'-tag. This results in non-functioning hyperlinks in some browsers and conflicts with the specification of (x)html. The same applies for headings ('h1'-'h6'-tags). Is there a way to prevent the editor generating constructs like "<a><p>some text</p></a>"?
    - Mirko -
  2. Stanimir
    Stanimir avatar
    1653 posts

    Posted 22 Oct 2009 Link to this post

    Hi Mirko,

    Indeed the result code (<a><p></p></a>) is not valid XHTML, so I logged this issue in our bug-tracking system and i think that it will be resolved in one of our next releases.

    Thank you.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

Back to Top