[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: customizations if svn source-code

From: Jan Hendrik <list.jan.hendrik_at_gmail.com>
Date: Wed, 7 Jan 2009 09:18:06 +0100

Concerning Re: customizations if svn source-co
Andy Levy wrote on 6 Jan 2009, 16:07, at least in part:

> Please keep your replies on-list.
>
> On Tue, Jan 6, 2009 at 16:03, Roberto Lima <smuxbr_at_gmail.com> wrote: >
> Ok, can you tell me how do I get the stdout of svn in php with regular
> > expression and return to me?
>
> I'm not a PHP programmer.
>
> You may not even need a full regular expression, just use a string
> replace function to replace \n with <br />

nl2br

Note that as of PHP 5.3.0 it will take a second parameter ("false")
to make it valid HTML (<br>); the default - and current behaviour -
is XHTML (<br />).

Jan Hendrik

---------------------------------------
Freedom quote:

     America has believed that in differentiation, not in uniformity,
     lies the path of progress. It acted on this belief, it has advanced
     human happiness, and it has prospered.
               -- Louis D. Brandeis
                  U.S. Supreme Court Justice, 1856-1941

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1009647

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-07 09:14:24 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.