<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to Add Line Break in a Text of richTextDisplayField ?</title><link>https://community.appian.com/discussions/f/user-interface/13254/how-to-add-line-break-in-a-text-of-richtextdisplayfield</link><description>How to Add Line Break in a Text of richTextDisplayField ? 
 
 Code: 
 a!richTextItem( 
 Text: { 
 &amp;quot;This is Sun,&amp;quot; &amp;amp; &amp;quot;&amp;lt;br/&amp;gt;&amp;quot; &amp;amp; &amp;quot;moon&amp;quot; 
 } 
 ) 
 Expected Output: 
 This is Sun, 
 moon 
 
 Please help with your solution. 
 &amp;lt;br/&amp;gt; is the one I found in community</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to Add Line Break in a Text of richTextDisplayField ?</title><link>https://community.appian.com/thread/59928?ContentTypeID=1</link><pubDate>Tue, 04 Sep 2018 06:14:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:692fa119-141a-4338-846a-30201c665dfb</guid><dc:creator>ravalik</dc:creator><description>HI Sunil Mohan,&lt;br /&gt;
&lt;br /&gt;
Make use of char(10) to break a line .&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
ravalik&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Add Line Break in a Text of richTextDisplayField ?</title><link>https://community.appian.com/thread/59922?ContentTypeID=1</link><pubDate>Tue, 04 Sep 2018 00:42:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4fe6be47-933c-4321-bf61-95b410bb2d1e</guid><dc:creator>sahithip120</dc:creator><description>&amp;lt;br/&amp;gt; works only with HTML tags in Appian. You can try char(10) instead&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Add Line Break in a Text of richTextDisplayField ?</title><link>https://community.appian.com/thread/59841?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 09:34:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f5b85b73-aef8-4ac8-bd80-6b5ed24a3d09</guid><dc:creator>Abhay Giri</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
use char(10) to break a line.&lt;br /&gt;
&lt;br /&gt;
Abhay&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Add Line Break in a Text of richTextDisplayField ?</title><link>https://community.appian.com/thread/59839?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 08:25:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b14e234a-dcce-4a3d-9ec6-778e8670117d</guid><dc:creator>amitm9</dc:creator><description>Additionally, It will work for plain text field also when read only. Like -&lt;br /&gt;
 a!textField(&lt;br /&gt;
   label: &amp;quot;&amp;quot;,&lt;br /&gt;
   value: &amp;quot;This is Sun,&amp;quot; &amp;amp; char(10) &amp;amp; &amp;quot;moon&amp;quot; ,&lt;br /&gt;
   readOnly: true()&lt;br /&gt;
 )&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Add Line Break in a Text of richTextDisplayField ?</title><link>https://community.appian.com/thread/59838?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 08:20:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f7ceeb0-9e05-42d1-8837-9fcaa237d6ee</guid><dc:creator>amitm9</dc:creator><description>Hello Sunil,&lt;br /&gt;
Please use char(10) instead of &amp;lt;br/&amp;gt;. Like here you should write - &amp;quot;This is Sun,&amp;quot; &amp;amp; char(10) &amp;amp; &amp;quot;moon&amp;quot; . &lt;br /&gt;
Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Add Line Break in a Text of richTextDisplayField ?</title><link>https://community.appian.com/thread/59837?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 08:18:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93c88aa6-64ae-4168-aaf0-d95f5204a08a</guid><dc:creator>namratak356</dc:creator><description>Hi Sunil,&lt;br /&gt;
&lt;br /&gt;
Below code should suffice your requirement:&lt;br /&gt;
a!richTextDisplayField(&lt;br /&gt;
          value: a!richTextItem(&lt;br /&gt;
            text: &amp;quot;This is Sun,&amp;quot; &amp;amp; char(&lt;br /&gt;
              10&lt;br /&gt;
            ) &amp;amp; char(&lt;br /&gt;
              10&lt;br /&gt;
            ) &amp;amp; &amp;quot;moon&amp;quot;&lt;br /&gt;
          )&lt;br /&gt;
        )&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Namrata&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Add Line Break in a Text of richTextDisplayField ?</title><link>https://community.appian.com/thread/59836?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 07:50:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c6cbf9ee-e26c-40f0-8bdd-6e5038244f7d</guid><dc:creator>swarajd0001</dc:creator><description>Hi sunil mohan&lt;br /&gt;
&lt;br /&gt;
please find below code it may help you..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a!richTextDisplayField(&lt;br /&gt;
  value:a!richTextItem(&lt;br /&gt;
    text:&amp;quot;This is Sun,&amp;quot; &amp;amp; char(10) &amp;amp; &amp;quot;moon&amp;quot;&lt;br /&gt;
  )&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>