From owner-freebsd-doc Wed Jan 16 1:10:22 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BDE0437B417 for ; Wed, 16 Jan 2002 01:10:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0G9A8p32635; Wed, 16 Jan 2002 01:10:08 -0800 (PST) (envelope-from gnats) Date: Wed, 16 Jan 2002 01:10:08 -0800 (PST) Message-Id: <200201160910.g0G9A8p32635@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: "Ted Mittelstaedt" Subject: RE: docs/33913: GNATS webinterface isn't wrapping lines Reply-To: "Ted Mittelstaedt" Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/33913; it has been noted by GNATS. From: "Ted Mittelstaedt" To: Cc: , , Subject: RE: docs/33913: GNATS webinterface isn't wrapping lines Date: Wed, 16 Jan 2002 01:06:48 -0800 >-----Original Message----- >From: Jim Mock [mailto:mij@soupnazi.org] >Sent: Tuesday, January 15, 2002 11:56 PM >To: Ted Mittelstaedt >Cc: ru@FreeBSD.org; freebsd-doc@FreeBSD.org; >freebsd-gnats-submit@FreeBSD.org >Subject: Re: docs/33913: GNATS webinterface isn't wrapping lines > >> >> Note the addition of the "wrap" directive. > >The wrap attribute is not valid in HTML 4.01. > It was not my intent to start a religious argument. User input code that doesen't massage the input is a coding error - what happens if some joker decides to put in a javascript in a PR that does something nasty? Are we checking for that? The wrap attribute was NEVER valid in any HTML spec. It is and remains a quick hack to get out of massaging user input. Obviously the best way to solve this would be to further process the user input on the webform to insert linebreaks in case someone uses a browser that doesen't do what the code expects is "right" But if nobody writes one then what's wrong with a quick hack? The PR database already has a lot of these unwrapped entries with lines that scroll off the side of the screen. Which is more important - making PR's readable or being "right"? Ted To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message