Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Q for Justin Weber

Original Message
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.


Report Offensive Message For Removal


Response Number 1
Name: Razor2.3
Date: November 25, 2007 at 15:01:55 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Oh, his text parser has greater problems than just indenting. Like how the preview breaks whenever two links are manually created in a post.



Report Offensive Follow Up For Removal

Response Number 2
Name: Justin Weber
Date: November 25, 2007 at 20:43:05 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Hey,

What do you mean HTML encoding of leading spaces? Is it a specific tag you need enabled? I can do that.

Razor,

What do you mean? What is the problem that happens? I'm sure I can fix that as well.

Thanks,
Justin


Report Offensive Follow Up For Removal

Response Number 3
Name: Justin Weber
Date: November 25, 2007 at 21:18:16 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Hey,

Razor... Thanks for letting me know about that problem. I figured it out and fixed it.

Thanks. Still waiting to hear on the other problem.

Justin


Report Offensive Follow Up For Removal

Response Number 4
Name: Michael J (by mjdamato)
Date: November 25, 2007 at 22:33:26 Pacific
Subject: Q for Justin Weber
Reply: (edit)
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.

Michael J


Report Offensive Follow Up For Removal

Response Number 5
Name: FishMonger
Date: November 25, 2007 at 22:36:36 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Justin,

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.


Report Offensive Follow Up For Removal


Response Number 6
Name: FishMonger
Date: November 25, 2007 at 22:44:01 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Michael,

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".


Report Offensive Follow Up For Removal

Response Number 7
Name: FishMonger
Date: November 25, 2007 at 22:52:42 Pacific
Subject: Q for Justin Weber
Reply: (edit)
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.

Report Offensive Follow Up For Removal

Response Number 8
Name: Razor2.3
Date: November 25, 2007 at 23:22:31 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Justin Weber: I figured it out and fixed it.
So you did. Thanks.

Still waiting to hear on the other problem.
The responses are kinda vague, but what we want is a tag that preserves whitespace; <pre> probably.


Report Offensive Follow Up For Removal

Response Number 9
Name: Justin Weber
Date: November 26, 2007 at 08:25:16 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Hey,

I thought I had allowed pre tags. I must have taken them out.

Anyway, pre should work now...


This is test code {
print "hello world";
}
}

Thanks for letting me know about this. If you have any more issues, let me know about those too and I'll do my best to fix them.

Justin


Report Offensive Follow Up For Removal

Response Number 10
Name: Justin Weber
Date: November 26, 2007 at 15:07:35 Pacific
Subject: Q for Justin Weber
Reply: (edit)
BTW,

Fishmonger, I am using an HTML validator. Those show up as "warnings" not errors for me.

Justin


Report Offensive Follow Up For Removal

Response Number 11
Name: FishMonger
Date: November 26, 2007 at 23:45:48 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Justin,

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.



Report Offensive Follow Up For Removal

Response Number 12
Name: Razor2.3
Date: November 27, 2007 at 00:15:16 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Well, the W3C validator is a bit overzealous. Besides, the count shoots down to 61 if you force HTML 3.2.

FishMonger
It appears to be added at the parser.


Report Offensive Follow Up For Removal

Response Number 13
Name: Mechanix2Go
Date: November 27, 2007 at 02:45:06 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Looks like we need to put in the tags.

http://computing.net/programming/ww...

Next mystery: why do the tags change the font?

BTW, the only W3C errors on my page are in the PayPal code. I wrote to support and got some totally berserk response. LOL

Justin,

Thanks for the tag fix.


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 14
Name: Razor2.3
Date: November 27, 2007 at 04:15:34 Pacific
Subject: Q for Justin Weber
Reply: (edit)
Mechanix2Go: Next mystery: why do the tags change the font?
<`pre> renders with a mono-spaced font. Thus the font change.

Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Q for Justin Weber

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




DSHUB24 Connection Problems

need help with dsl and dial up

novel 3.12

help mandriva install last straw!

Icon Scaling in Explorer Bar


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

All content ©1996-2007 Computing.Net, LLC