Try Now
More in this section

Forums / Bugs & Issues / Blog: ItemList preserve formatting (br tags being stripped)

Blog: ItemList preserve formatting (br tags being stripped)

2 posts, 0 answered
  1. Chris
    Chris avatar
    10 posts
    30 Apr 2008
    17 Jul 2008
    Link to this post
    Hi there

    We have a blog where the client would like the item list view to have images and formatting retained.

    Looking at the Edit>Filter>summarySettings - we should be able to do this. It's successful with images but the layout isn't being preserved.

    On closer inspection br tags are being stripped out even though the clear HTML is set to false. This is what we tried

    Paragraphs; 1000; False;

    We also tried clearing HTML tags and then explicitly allowing them, but didn't work.

    Paragraphs; 1000; True; {br,img,p,strong,em}

    The br tags are being added by the blog editor...

    Any ideas?


  2. Yasen
    Yasen avatar
    121 posts
    18 May 2013
    24 Jul 2008
    Link to this post
    Hello Chris,

    We were able to reproduce this behavior:
    1. Create blog post with br tags;
    2. Add blog posts control to a page;
    3. Choose that the whole content is displayed in "List & page" view;
    4. br tags are stripped, even if the whole post should be displayed.
    Thank you for this bug report. Your Telerik points have been updated.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered