To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.faqOpen lugnet.faq in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 FAQ / 96
95  |  97
Subject: 
Re: Raw FAQ data format (Was: Format of FAQ items)
Newsgroups: 
lugnet.faq
Date: 
Mon, 26 Apr 1999 21:34:13 GMT
Viewed: 
1776 times
  
In lugnet.faq, sparre@sys-323.risoe.dk (Jacob Sparre Andersen) writes:
[...]
and *perhaps* the double-quote character should be forced to be written as
an entity as well:

   "  =>  "

Why?
[...]

Although rare, double-quote characters (") which appear inside of tags (for
example inside of URLs), have to be written as " -- e.g.

   <IMG SRC="http://www.foo.foo/chapter1/&quot;foo&quot;">

Double-quote characters (") appearing in normal text (outside of tags) don't
have to be written as entities...

I wrote "perhaps" above because I wasn't sure without thinking about it more
(I was in a hurry when I wrote the other post).  Thinking about it more now,
it should be completely safe to allow direct " outside of tags as long as
&quot; is still required inside of tags.  This shouldn't imply any special
pre-processing.

--Todd



Message is in Reply To:
  Re: Raw FAQ data format (Was: Format of FAQ items)
 
(...) If we ban HTML _elements_ from the headers, then we don't need to escape '<' and '>'. There has never been a need to escape '"'. If we want to allow numeric character references outside Latin-1 (like '&#805;') we still have to escape (...) (26 years ago, 26-Apr-99, to lugnet.faq)

82 Messages in This Thread:
























Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR