From: <ms...@ma...> - 2002-11-13 03:07:20
|
On Tue, Nov 12, 2002 at 08:29:35PM -0500, David Goodger wrote: [ stylesheet / class usage discussion skipped ] I believe, the question I raised comes from my desire to use the generated HTML code as a part of a bigger document. So as I may not know what stylesheet is used in the "parent" document, this "unnecessary" references to a non-existant stylesheet may lead to problems. However I got your point and will try to supply the code which implements the this behaviour. > > Hmm. The current code does not seem to follow the quoted RFC 2396 > > then. I did specify > >=20 > > <http://www.example.com/an url with spaces> > >=20 > > (which seems to be correct according to this RFC) and as result got > >=20 > > <<a href=3D"http://www.example.com/an" > > >http://www.example.com/an</a> url with spaces> > >=20 > > which seems to be incorrect, right? >=20 > Note that according to the RFC, your example should be interpreted as: >=20 > http://www.example.com/anurlwithspaces >=20 > Which is *not* what you asked for. Which I _originally_ asked for. I understood your explanation and the reference to the RFC, and the way the RFC suggests these whitespace characters are interpreted. > >> The reStructuredText parser also joins long multi-line URLs in > >> targets. >=20 > This applies to the "target" construct only:: >=20 > .. _target: http://www.example.com/a/very/long/ > path/broken/across/lines >=20 > My comment does not apply to standalone URLs in text, with or without > angle brackets (which have no special meaning now). I see. I missed the word "targets", which actually has a special meaning. > This is the first time this issue has come up. If this feature is > important to you, I would be pleased to accept a patch that implements > it. But the patch should implement the behavior described in the RFC, > *not* the ad-hoc behavior witnessed in MS Outlook. The ambiguous and > non-standard MS Outlook behavior will *not* be supported. That I understand and I have no intention to insist on any non-standard behaviour whatsoever. -- Misha |