Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » The Site » BBR Feedback » Forum Feature Requests » Allow the use of less than sign in forum posts
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Search option for who/where? »
« Link or some other soultion besides asterisk?  
AuthorAll Replies


Johnny
Premium
join:2001-06-27
Atlanta, GA
reply to joako
Re: Allow the use of less than sign in forum posts

**Sign**

Any parser should be able to tell that a left angle bracket by itself is not HTML and ignore it.


cacroll
Eventually, Prozac becomes normal
Premium
join:2002-07-25
Martinez, CA

said by Johnny See Profile :

Any parser should be able to tell that a left angle bracket by itself is not HTML and ignore it.


Define "by itself". Do you mean unpaired, or surrounded by spaces?

If the former, the parser would have to scan the entire message that you're writing, to check for pairs of < and > ? If the latter, you could write "if a < b" but couldn't write "if a<b"?
--
Cheers,
Chuck
MS-MVP 2005-2007 [Windows - Networking]
PChuck's Network


Johnny
Premium
join:2001-06-27
Atlanta, GA

said by cacroll See Profile :

said by Johnny See Profile :

Any parser should be able to tell that a left angle bracket by itself is not HTML and ignore it.
Define "by itself". Do you mean unpaired, or surrounded by spaces?
I mean without being part of a valid HTML expression.
If the former, the parser would have to scan the entire message that you're writing, to check for pairs of < and > ? If the latter, you could write "if a < b" but couldn't write "if a<b"?
It has to scan it anyway, to look for the expression that it must assume the left angle is a part of. As you said, if it reaches the end without identifying a valid expression, it can either throw an error, throw away the text scanned up to that point (which is what it is doing now), or treat the text scanned as plain text.

The feature request is to treat scanned text that does not constitute a valid HTML expression as plain text and just output it.

The same is true for square brackets - the metalanguage or BNF for them is fairly limited, so it isn't hard to determine if the characters following a left bracket are making a valid expression. As soon as the first invalid character is encountered, it can bail and treat it as plain text.


cacroll
Eventually, Prozac becomes normal
Premium
join:2002-07-25
Martinez, CA

said by Johnny See Profile :

said by cacroll See Profile :

said by Johnny See Profile :

Any parser should be able to tell that a left angle bracket by itself is not HTML and ignore it.
Define "by itself". Do you mean unpaired, or surrounded by spaces?
I mean without being part of a valid HTML expression.
If the former, the parser would have to scan the entire message that you're writing, to check for pairs of < and > ? If the latter, you could write "if a < b" but couldn't write "if a<b"?
It has to scan it anyway, to look for the expression that it must assume the left angle is a part of. As you said, if it reaches the end without identifying a valid expression, it can either throw an error, throw away the text scanned up to that point (which is what it is doing now), or treat the text scanned as plain text.

The feature request is to treat scanned text that does not constitute a valid HTML expression as plain text and just output it.

The same is true for square brackets - the metalanguage or BNF for them is fairly limited, so it isn't hard to determine if the characters following a left bracket are making a valid expression. As soon as the first invalid character is encountered, it can bail and treat it as plain text.


I guess all that depends upon what "it" is. If the forum software allows plain old HTML, it's probably just an HTML exit. The HTML isn't checked, or rendered by the forum software, it's rendered by your browser when it's displayed.

As I pointed out to Joako, it's not that the forum software is preventing him from doing anything. The forum software lets him enter anything he wants to - just like most HTML based web page editors. The browser is the problem, when the post is rendered. If you have a "<" in the code without a closing ">", almost any thing can happen. But it's a browser problem, not the forum problem.
--
Cheers,
Chuck
MS-MVP 2005-2007 [Windows - Networking]
PChuck's Network
Forums » The Site » BBR Feedback » Forum Feature RequestsSearch option for who/where? »
« Link or some other soultion besides asterisk?  


Tuesday, 02-Dec 04:57:41 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2008 dslreports.com.
page compression OFF
Most commented news this week
· [94] AT&T Metered Billing Trial Hits Second Market
· [69] UDP BitTorrent Will Destroy The Interwebs!
· [57] Comcast Tries To Slow Verizon's Philly Entry
· [17] FCC To Vote On Free National Wireless Broadband
· [14] Clearwire May Slow WiMax Build
· [7] Embarq Rejected Higher Offer
· [7] Hawaii Telecom Files For Bankruptcy
· [6] Monday Evening Links
Most people now reading
· Is this a good thing for the net? [news,99366]
· Upverting DVD players vs Blue ray DVD players. [General Questions]
· Level 80 PVP gear info? [World of Warcraft]
· Notice, new uTorrent Alpha may be able to evade throttling [TekSavvy]
· Extjs grid combo box. [Webmasters and Developers]
· Maintaince Tonight or tomorrow? [TekSavvy]
· Coalition Government Possible? [TekSavvy]
· [WotLK] Starting the Rep Grind [World of Warcraft]
· [WotLK] PVP gear at 80 [World of Warcraft]
· Please someone from Verizon help me... [Verizon FIOS TV]