Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic


by footpad (Abbot)
on Feb 14, 2001 at 23:43 UTC ( #58426=monkdiscuss: print w/replies, xml ) Need Help??

Given the recent rash of nodes being posted using <PRE> tags, it might be nice if the HTML parsing code could replace <PRE> tag sets with <CODE> tag sets.

The thinking being that this would help reduce the number of nodes being considered for this reason, as well as the number of times the site's formatting gets farkled because of them.


Replies are listed 'Best First'.
(tye)Re: PreFormatting
by tye (Sage) on Feb 15, 2001 at 06:39 UTC

    I think this is a fine idea if <PRE> tags are left as-is in nodes that also contain <code> tags.

    I still reserve the right to downvote nodes that have long lines inside of <PRE> tags, but not all non-text information belongs in <code> tags.

            - tye (but my friends call me "Tye")
      I still reserve the right to choose delete on Nodes to Consider for nodes that have pre tags that cause the page to scroll 5 screens wide.

      ALL HAIL BRAK!!!

Re: PreFormatting
by tadman (Prior) on Feb 15, 2001 at 10:11 UTC
    Using <PRE> is a natural thing to do, especially if you don't realize the wondrous power of the PerlMonks <CODE> tag and how different it is from the regular HTML equivalent. I certainly didn't expect it to work the way it does. It's completely counterintuitive.

    It might be advisable to staple a handy "PerlMonks-HTML" reference chart to the bottom of the composition window. There's a whole lot of space there considering how long the right sidebar trails on. That should be the easiest to implement, by far.
Re: PreFormatting
by TStanley (Canon) on Feb 15, 2001 at 01:06 UTC
    I know this would end up heaping more work upon vroom, but this is an excellent idea, and overall,
    would cut down the number of nodes that have to be edited because of someone not using < CODE> tags

    In the end, there can be only one!
      It wouldn't be that hard probably. vroom could just remove <PRE> from the Perl Monks Approved HTML tags. Then they would be automagically deleted at least. It would probably be a good idea anyway to extend the filtering functionality to give a warning about the use of unapproved tags, instead of just deleting them without explanation.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2022-08-08 17:08 GMT
Find Nodes?
    Voting Booth?

    No recent polls found