SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Silicon Investor, under the hood

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
From: SI Dave11/27/2005 7:09:17 PM
  Read Replies (3) of 81
 
re: Message 21921472

Okay, as you know the "butted up" link is because you didn't leave a space before and after. That burden is on the user just like putting spaces between words.

The fact that the link is not underlined is because Mr. Bill has not completed the css style code that will, in part, differentiate links in text. It is underlined on hover as the style currently specifies.

The non-compliant html is another issue. The original routine did not consider incomplete tag pairs to be valid tags, in accordance with the standards. I changed it to truncate everything from the input text following a disallowed tag -if- it does not have a corresponding closing tag. However; there is something wrong with the change I made that is causing the routine to throw an error occasionally, but I'll figure that out after a few scotch rocks.

The bad html on the <a tag (no closing apostrophe) is a bit more problematic. Will have to think about that one a bit.

I'm using a vbscrpt routine to search for pre-defined tags. I'd be willing to bet there is an equivalent (free public) class out there somewhere that utilizes regexp, but I haven't found it yet.

The first person to find a free and sufficiently comprehensive HTML stripper that we wind up using will receive an annual subscription to PremiumPlus for either their own account or another member of their choosing. It must be server side vb or c#.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext