The Mudcat Café TM
Thread #5225   Message #29816
Posted By: murray@mpce.mq.edu.au
01-Jun-98 - 09:05 PM
Thread Name: line breaks: how to do it
Subject: RE: line breaks: how to do it
I should have taken Jon's advice and looked at what I wrote in a browser before posting.

The line that starts with "Secondly" should read.

Secondly, If you write "<BR&gt"...

My memory is going!! It is a colon not a comma that ends the name of a command.

I have noticed that the HTML parser in netscape sometimes doesn't gobble up spaces as it should, so it is a good idea to use the colon to end the name of a symobol instead of a space unless a space occurrs naturally at that point.

The code in the corrected line literally had the sequence:

  quote ampersand lt BR ampersand ampersand colon gt quote  

in it. With no spaces between any of the individual characters.

Had I written

  quote ampersand lt BR ampersand ampersand space gt quote  

That is replaced the colon by a space. Then the result is a space between the second "&" and the "gt" when I read it with netscape. This shouldn't happen as I understand the standard. The result should have been the same in both cases.

Sorry about the first mixup.

Murray