<?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 keep the lines of paragraph in the email body</title><link>https://community.appian.com/discussions/f/general/30290/how-to-keep-the-lines-of-paragraph-in-the-email-body</link><description>Hi there, 
 I have the following information in a paragraph, need to send this information in the email body. 
 in the &amp;quot;send email&amp;quot; smart service, tried this: substitute(tostring(pv!newComments), &amp;quot;cha(10)&amp;quot;, &amp;quot;&amp;lt;br&amp;gt;&amp;quot;), it does not work, all the informaiton</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to keep the lines of paragraph in the email body</title><link>https://community.appian.com/thread/120469?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 18:11:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86cac471-dfd5-45bc-a55a-a3bc13711306</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Why &amp;quot;without using the regex function&amp;quot;?&lt;/p&gt;
&lt;p&gt;I would not try to display random HTML content using the rich text editor. Just out of security considerations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to keep the lines of paragraph in the email body</title><link>https://community.appian.com/thread/120464?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 16:32:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c68cb844-d6b8-40f5-b463-bca253213210</guid><dc:creator>Venkatesh Suram</dc:creator><description>&lt;p&gt;Hi Stefan/Harshit,&lt;/p&gt;
&lt;p&gt;In the similar line, I do have requirement to display html body in the &lt;a href="/b/appmarket/posts/rich-text-editor"&gt;Rich Text Editor Component&lt;/a&gt;&amp;nbsp;.However the &lt;a href="/b/appmarket/posts/rich-text-editor"&gt;Rich Text Editor Component&lt;/a&gt; not supporting the style tag.&amp;nbsp; So i would like to remove the &amp;lt;style&amp;gt;Any Text&amp;lt;/style&amp;gt;.Please find below example:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sample:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;html&amp;gt; &amp;lt;head&amp;gt; &amp;lt;title&amp;gt;Sample Page&amp;lt;/title&amp;gt; &amp;lt;style&amp;gt; body { background-color: lightblue; } &amp;lt;/style&amp;gt; &amp;lt;/head&amp;gt; &amp;lt;body&amp;gt; &amp;lt;p&amp;gt;This is a sample page.&amp;lt;/p&amp;gt; &amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Expected Output:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;html&amp;gt; &amp;lt;head&amp;gt; &amp;lt;title&amp;gt;Sample Page&amp;lt;/title&amp;gt;&amp;nbsp; &amp;lt;/head&amp;gt; &amp;lt;body&amp;gt; &amp;lt;p&amp;gt;This is a sample page.&amp;lt;/p&amp;gt; &amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you please help me out remove the &amp;lt;style&amp;gt; &amp;lt;/style&amp;gt; code without using the regex functions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to keep the lines of paragraph in the email body</title><link>https://community.appian.com/thread/120463?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 15:41:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b2b0248-51df-469e-a376-02abfa16f014</guid><dc:creator>linp0001</dc:creator><description>&lt;p&gt;my bad. it&amp;#39;s working now. thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to keep the lines of paragraph in the email body</title><link>https://community.appian.com/thread/120462?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 15:41:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a360db49-4f53-41f6-bddb-00dc49ffa431</guid><dc:creator>linp0001</dc:creator><description>&lt;p&gt;thanks, it works, and removed the rostring function&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to keep the lines of paragraph in the email body</title><link>https://community.appian.com/thread/120418?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 06:55:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:73356e72-9e6f-4bc0-a86c-13aeeb4b9abf</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You have used char(10) in string. Doing that will check for char(10) written in the string. Removing the quotes should work.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to keep the lines of paragraph in the email body</title><link>https://community.appian.com/thread/120413?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 05:56:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ed7b9eb-5131-4f07-af9e-4821374827bd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Try&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;substitute(tostring(pv!newComments), char(10), &amp;quot;&amp;lt;br/&amp;gt;&amp;quot;),&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Just copied your code. Are you sure you need that tostring() call?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>