Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Is this Bug in PM?

by stefan k (Curate)
on Feb 01, 2001 at 22:37 UTC ( [id://55780]=monkdiscuss: print w/replies, xml ) Need Help??

I just read the use strict; node (by snowrider) and when replying to that I found that the preview button had a strong text, too (just like the whole posting). Maybe non-closing tags could be found in a posting and be closed at least at the end?
What do you say?

Regards
Stefan K

$dom = "skamphausen.de"; ## May The Open Source Be With You! $Mail = "mail@$dom; $Url = "http://www.$dom";

Replies are listed 'Best First'.
Re: Is this Bug in PM?
by extremely (Priest) on Feb 02, 2001 at 02:12 UTC
    How would you have it work? Automatic or just warn people?

    I've thought a great deal about this very issue, even started tinkering with HTML::TokeParser and related vermin. The problem is diagnosing borked HTML gets pretty hairy pretty fast. I'd like to solve it tho, then I could send it to the Blogger people so I could be sloppy and not fubar my entire website. =)

    Getting a HTML fixer would be nice for post-processing years of HTML files to get them up to XHTML standards too. Little things like <b>Bold <i>Both</b> Italic</i> need to be transformed to <b>Bold <i>Both</i></b><i> Italic</i> as a part of that fix too, though.

    --
    $you = new YOU;
    honk() if $you->love(perl)

      Hey! No need to fight with the TokeParser, the guys at the W3C just thought about this issue and made a really cool soft called Tidy.
      If you're dealing on a daily basis with user-created HTML, you'll get addicted very fast to this one.

      Basically, you feed it with anything that is loosely based on HTML (yes, even the Word2000 disgusting HTML output!) and it gives you a really nice output (HTML, XHTML, XML, you name it). It's highly configurable, so you can choose what to keep and what to weed out, it's fast and it works in command-line so you can pre-process user entries before creating them. Check it now!

      -- Wow, I sure sounded like a commercial

      UPDATE: Actually, this soft can be directly hooked to Perl! Now, you *really* got to have this one!

      <kbd>--
      PerlMonger::Paris(http => '
      paris.pm.org');</kbd>
Re: Is this Bug in PM?
by damian1301 (Curate) on Feb 02, 2001 at 01:19 UTC
    I highly doubt it's existance, if this is true, to be a bug. Looking at the preview button now I see nothing wrong with it.

    Anyway, is it that big of a thing to have vroom get up of his pizza-eating butt to fix it? I don't really think so because the only way you can get a button to be in bold (That I have seen) is with CSS and none is used here.No offense vroom, jk.

    Wanna be perl hacker.
    Dave AKA damian

    I encourage you to email me
      ...because the only way you can get a button to be in bold (That I have seen) is with CSS and none is used here

      Not true, I know that at least in old versions of Netscape you can set font attributes to affect buttons, such as color and boldness. I don't know if current versions still do that.

      All that aside, it's relatively trivial to run your post through an HTML validator before sending. For big posts I usually cut and past into a word processor for a spellcheck (because my is horrible). Perhaps the wise and mysterious vroom could put in that added functionality, but I wouldn't really call it a bug.

      =Blue
      ...you might be eaten by a grue...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://55780]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-19 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found