Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: HTML cleanup of user submitted content

by Herkum (Parson)
on Jan 08, 2010 at 20:14 UTC ( #816393=note: print w/replies, xml ) Need Help??


in reply to HTML cleanup of user submitted content

If you are going to use some formatting perhaps you should consider using BBCode rather than HTML. BBCode is used in number of Bulletin Boards so is fairly well known.

There is a module BBCode::Parser which can take care of the BBCode to HTML presentation for you as well.

  • Comment on Re: HTML cleanup of user submitted content

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://816393]
help
Chatterbox?
[hippo]: Yary: There are a few useful pointers in I need perl coding standards
[hippo]: ... and a boatload of good stuff in On Coding Standards and Code Reviews
[Yary]: Looking at system pm's, looks like it's "package" on the first line, then POD, then "use 5.xyz;use strict; use warnings; use modules..."
[Yary]: ah thanks for those links
[hippo]: Just bear in mind that all such ideas are subjective.
[choroba]: There might be a different standard at the shop you write the code for.
[choroba]: The order of package - (strict+warnings | warnings+strict) - modules makes sense, POD and strict-warnings order are not so important

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2018-01-23 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (250 votes). Check out past polls.

    Notices?