Stripped NewLines with Text-property

2 posts, 0 answers
  1. Linus
    Linus avatar
    18 posts
    Member since:
    Jul 2008

    Posted 30 Mar 2011 Link to this post

    Hi!

    I just noticed a weird behaviour (in my opinion) with the Text-property of the editor.

    If I have the following text:

    Row 1<br />
    Row 2<br />
    <br />
    <br />
    Row 5<br />
    <br />
    <br />
    <br />
    <br />
    Row 10

    The Content-property reveals:
    Row 1<br />\r\nRow 2<br />\r\n<br />\r\n<br />\r\nRow 5<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\nRow 10

    However, the Text-property reveals:
    Row 1\n Row 2\n\n Row 5\n\n Row 10

    It looks like two or more NewLines are stripped down to two NewLines on the Text-property.
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 30 Mar 2011 Link to this post

    Hi Linus,

    Thank you for bringing this problem to our attention. I have logged it into our database and we will do our best to have it fixed for one of the upcoming releases. Unfortunately, I am unable to provide a suitable workaround at this point. You can follow the development of this issue in our PITS system: Public URL

    As a small token of gratitude I have updated your Telerik points.

    Best wishes,
    Dobromir
    the Telerik team
Back to Top