+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / News Summary -Bug

News Summary -Bug

2 posts, 0 answered
  1. Mansoor
    Mansoor avatar
    52 posts
    Registered:
    29 Jul 2013
    14 Jan 2014
    Link to this post
    hi,
    In News Summary section, I have entered the text line by line see below eg:

    This is the summary.
    This is second line of the summary.
    After publishing the news when i check the news the summary will display in one line see the below.

    This is the summary.This is second line of the summary.

    I want to appear the summary how the user entered in the summary section. hope understand my question. how to do that.

    regards
    mansoor
  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    02 Dec 2016
    16 Jan 2014
    Link to this post
    Hello Mansoor,

    This is an expected behaviour as the type of the News Summary input field is a TextField and does not render the new line as a <br /> html element.

    You can change the type of the News Summary field to HtmlField. To do this, please go to Administration -> Advanced -> News -> Controls -> NewsBackend -> Views -> NewsBackendEdit (you will need to do it for NewsBackendInsert too) -> Sections -> MainSection -> Field -> Summary and in the FieldType text box enter the following: Telerik.Sitefinity.Web.UI.Fields.HtmlField, Telerik.Sitefinity
     
    Regards,
    Sabrie Nedzhip
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered