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

Can remove "/" from <br/>

1 Answer 50 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
lee
Top achievements
Rank 1
lee asked on 21 Mar 2008, 09:04 AM
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

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 21 Mar 2008, 09:46 AM
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
Tags
WebParts for SharePoint
Asked by
lee
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or