[pLog-svn] r3850 - plog/trunk/class/dao

Oscar Renalias oscar at renalias.net
Thu Aug 10 06:23:09 GMT 2006


Wasn't the issue about the same problem?

I've only modified the default parameter of getText(), so that it now
is '' (empty) instead of '<br/>'. I suppose that if people are using
the normal non-html editor and forgot to surround their text with
'<p>...</p>' then it's their problem, not ours.

On 8/10/06, Reto Hugi <plog at hugi.to> wrote:
> ok, but what's about this discussion? ;)
> http://bugs.lifetype.net/view.php?id=786
>
> On 09.08.2006 19:04, oscar at devel.lifetype.net wrote:
> > Author: oscar
> > Date: 2006-08-09 17:04:21 +0000 (Wed, 09 Aug 2006)
> > New Revision: 3850
> >
> > Modified:
> >    plog/trunk/class/dao/article.class.php
> > Log:
> > fixed Article::getText() as advised in http://bugs.lifetype.net/view.php?id=1003
> >
> >
> > Modified: plog/trunk/class/dao/article.class.php
> > ===================================================================
> > --- plog/trunk/class/dao/article.class.php    2006-08-09 15:54:33 UTC (rev 3849)
> > +++ plog/trunk/class/dao/article.class.php    2006-08-09 17:04:21 UTC (rev 3850)
> > @@ -131,10 +131,10 @@
> >          /**
> >           * Returns the text of the article
> >           * @param replace a string, usually html syntax, to "split"
> > -         * the intro and the extendet text. Default is <br/>.
> > +         * the intro and the extended text. Default is <br/>.
> >           * @return The text
> >           */
> > -             function getText( $replace = '<br/>' )
> > +             function getText( $replace = '' )
> >               {
> >              if( $replace !== false )
> >                               return str_replace( POST_EXTENDED_TEXT_MODIFIER, $replace, $this->_text );
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list