<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Newline in strings.properties in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/newline-in-strings-properties/m-p/210920#M164050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I was trying to add newline character(\n) in strings.properties. It looks like Alfresco ignores the new line. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; For eg, my strings.properties looks something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; projectUrl = Project URL \n E.g [some http URL]&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco renders the above property as &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Project URL E.g [some http URL]&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; ignoring the newline character.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried \r and alfresco seems to ignore it too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have got the linebreak to work,can you please help. Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karthik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2009 01:05:25 GMT</pubDate>
    <dc:creator>karthiknalfresc</dc:creator>
    <dc:date>2009-01-08T01:05:25Z</dc:date>
    <item>
      <title>Newline in strings.properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newline-in-strings-properties/m-p/210920#M164050</link>
      <description>Hi, I was trying to add newline character(\n) in strings.properties. It looks like Alfresco ignores the new line.  For eg, my strings.properties looks something like projectUrl = Project URL \n E.g [some http URL]‍‍‍Alfresco renders the above property as Project URL E.g [some http URL]‍ ignoring the</description>
      <pubDate>Thu, 08 Jan 2009 01:05:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newline-in-strings-properties/m-p/210920#M164050</guid>
      <dc:creator>karthiknalfresc</dc:creator>
      <dc:date>2009-01-08T01:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Newline in strings.properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newline-in-strings-properties/m-p/210921#M164051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suspect it's more likely that HTML is ignoring your line breaks. Try &amp;lt;br&amp;gt; instead if this string is being displayed in an HTML environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 01:06:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newline-in-strings-properties/m-p/210921#M164051</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-01-08T01:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Newline in strings.properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newline-in-strings-properties/m-p/210922#M164052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, i guess i wasnt clear. I was referring to strings.properties in the webform. I am using annotations[alf:label] in my xsd and i define the labels/values in strings.properties. I've added newline character \n in one of the values in strings.properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; When i&amp;nbsp; click create content on the webform, alfresco displays the form to input. It is here that Alfresco ignores the newline character while displaying the values in strings.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried doing the &amp;lt;br/&amp;gt; and it doesnt seem to work.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 19:46:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newline-in-strings-properties/m-p/210922#M164052</guid>
      <dc:creator>karthiknalfresc</dc:creator>
      <dc:date>2009-01-14T19:46:36Z</dc:date>
    </item>
  </channel>
</rss>

