Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8422 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90762 invoked by uid 1010); 7 Mar 2004 20:07:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90707 invoked from network); 7 Mar 2004 20:07:26 -0000 Received: from unknown (HELO sunshine.home) (62.178.227.34) by pb1.pair.com with SMTP; 7 Mar 2004 20:07:26 -0000 Received: from mfischer by sunshine.home with local (Exim 4.30) id 1B04VU-000720-RP for internals@lists.php.net; Sun, 07 Mar 2004 21:04:16 +0100 Date: Sun, 7 Mar 2004 21:04:16 +0100 To: internals@lists.php.net Message-ID: <20040307200416.GA26767@gjat.josefine.at> Mail-Followup-To: Markus Fischer , internals@lists.php.net References: <404B64CC.5070108@sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <404B64CC.5070108@sympatico.ca> X-Editor: Vim http://www.vim.org/ X-PGP-Key: 0xC2272BD0 at wwwkeys.eu.pgp.net X-PGP-Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 User-Agent: Microsoft Outlook Express 5.50.4807.1700.314 X-Spamfilter: Fighting it with http://www.spamassassin.org/ and http://razor.sourceforge.net/ Subject: Re: [PHP-DEV] Function proposal: nl2p From: mfischer@gjat.josefine.at (Markus Fischer) On Sun, Mar 07, 2004 at 01:07:08PM -0500, Louis-Philippe Huberdeau wrote : > /* {{{ proto string nl2p(string str) > Converts newlines to HTML paragraphs for standard compliance */ I'm not to judge whether this goes in or not, however using paragraphs is not more standard compliance than breaks. Breaks aren't deprecated in the current version of HTML. It's about semantics, not about standard compliance. This should be called by the right name if it's used. - Markus