Name: FishMonger Date: November 25, 2007 at 13:47:28 Pacific Subject: Q for Justin Weber OS: Win9x; 2000; Linux; Solar
Comment:
Justin,
Could you please fix your parsing of our posted comments?
It's very frustrating for us programmers to post properly formatted/indented code that your form parser goofs up because it fails to properly handle the html encoding of the leading spaces.
Justin, I beleive he just means that he wants lines that begin a line NOT be stripped off. When posting code it is difficult to interpret without the leading spaces used to show logical segmentation of the code.
Many forums support [CODE] tags to use around the code. If you were to allow PRE tags, that may solve the problem.
Unfortunately, due to how you parse the submission, I haven't figured out how to post an example (in plain text) on how to to substitute the spaces in our post with the equivalent html code. So, let me ask you, how do YOU represent/display multiple spaces (or tabs) in html code?
I'd post a simple regex example, if I could, but I'm unable to, due to your parsing.
If you need help in the coding, I'm sure there are enough of us to help.
If you look at the html source, you'll see that the spaces in our posts are preserved, but they are not html encoded. So, in the browser rendering, multiple spaces get squashed down to 0 leading spaces and/or a single space in between the "words".
BTW, while we're on the subject of html coding, have you ever validated any of the pages in your site? The main page for the programming section has over 1200 errors.
Thanks for enabling the use of the pre tag. I haven't tested it, but it should help. Did you implement it in the backend or frontend; meaning is it added by your parser, or do we need to add it in the confirmation page.
BTW, You may want to use a different validator. According to the W3C validator, there are 1210 errors, none of which are listed as warnings. http://validator.w3.org/check?uri=h...
However, most of those will go away if you change the doctype.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE