Page 1 of 1

HELP! How to add newline (\n) in ocMod file

Posted: Tue Jun 23, 2015 11:03 pm
by atnaples
i am trying to add

Code: Select all

  <add position="before">
    <![CDATA[
...
    $string = "\n";
...
    ]]>
</add>
but in modified files it will be

Code: Select all

    $string = "n";
Am I missing something? Could somebody help?

Re: HELP! How to add newline (\n) in ocMod file

Posted: Wed Jun 24, 2015 2:17 am
by chulcha
\n = &#xA;
\r = &#xD;
\t = &#x9;

Re: HELP! How to add newline (\n) in ocMod file

Posted: Wed Jun 24, 2015 2:41 am
by atnaples
thanks, i'll try

Re: HELP! How to add newline (\n) in ocMod file

Posted: Wed Jun 24, 2015 2:49 am
by chulcha
try it

\\n