This is a migrated thread and some comments may be shown as answers.

Hyperlink encloses entire paragraph

1 Answer 18 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Mirko
Top achievements
Rank 1
Mirko asked on 20 Oct 2009, 11:27 AM
Hello world,
I am working with editor version 4.5.6.0.
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>"?
BR,
- Mirko -

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 22 Oct 2009, 07:44 AM
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,
Stanimir
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.
Tags
WebParts for SharePoint
Asked by
Mirko
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or