republican-creole
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


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

reply to Johnny
Re: Allow the use of less than sign in forum posts

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?  


Thursday, 04-Dec 19:55:42 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
· [125] AT&T Metered Billing Trial Hits Second Market
· [97] UDP BitTorrent Will Destroy The Interwebs!
· [94] Exclusive Screens Of Comcast's New Bandwidth Meter
· [90] EFF Challenges Telecom Immunity
· [86] AT&T Cutting 12,000 Jobs
· [80] Firefox Extension Leads Amazon Customers To Pirated Alternatives
· [64] Scott Cleland: Google Using 21x The Bandwidth They Pay For
· [63] Apple: Who Believes Our Ads Anyway?
· [62] Comcast Tries To Slow Verizon's Philly Entry
· [60] Comcast To Offer Bandwidth Use Tracker In January
Most people now reading
· Coalition Government Possible? [TekSavvy]
· IRS email scam - sooo close ;) [Security]
· Internet Video Trial Sign Up [Verizon FIOS TV]
· why do people freak out on planning a wedding? [General Questions]
· Garage Door Track Pulled Off Wall? [Home Repair & Improvement]
· [Business] Comcast Business install nightmare [Comcast HSI]
· [ Professions] Northrend Herbalism and Mining Tracks [World of Warcraft]
· 720 and 1080 [Verizon FIOS TV]
· [Rant] People bitching about Best Buy [Rants, Raves, & Praise]