Can remove "/" from <br/>

2 posts, 0 answers
  1. lee
    lee avatar
    20 posts
    Member since:
    Aug 2007

    Posted 21 Mar 2008 Link to this post

    Hi,
    I want to remove "/" from <br />
    ....
    In the Design mode, I enter
    test1
    test2

    In the HTML mode, the editor show
    test1<br />test2


    The slash ("/") character makes the program runs incorrectly.
    can this be rectified anywhere? by changing the config file perhaps?

    Best Regards
    lee
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 21 Mar 2008 Link to this post

    Hi lee,

    By default the editor tries to produce valid XHTML output. If you want to disable it, you need to open the editor configuration file and edit the line (http://www.telerik.com/help/radeditormoss/SetPropertiesViaConfigFile.html):

      <property name="ConvertToXhtml">True</property>

    Change "True" to "False" to make the editor output HTML (<br> instead of <br/>).

    Kind regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

Back to Top