The following module was proposed for inclusion in the Module List:

  modid:       HTML::StripTags
  DSLIP:       Rdpfp
  description: Strip tags from a string with Perl like PHP
  userid:      HINNERK (Hinnerk Altenburg)
  chapterid:   15 (World_Wide_Web_HTML_HTTP_CGI)
  communities:
    Has been discussed on modules@perl.org (OK by smuel...@cpan.org)

  similar:
    HTML::Strip, "How do I remove HTML from a string?" in perlfaq9,
    HTML::Parser

  rationale:

    I wrote a C to Perl port of the PHP function strip_tags().
    http://www.php.net/manual/en/function.strip-tags.php

    This is a handy function to strip HTML/XML tags from a string. In
    opposite to HTML::Strip it accepts a list of allowed tags that
    should be excluded from stripping. The function implements the same
    smart state machine as the PHP 5.3.3 version uses and it's much
    easier to use than the attempts in
    http://perldoc.perl.org/perlfaq9.html#How-do-I-remove-HTML-from-a-string%3f

    SYNOPSIS: print strip_tags( $string, "<u><b>" );

  enteredby:   HINNERK (Hinnerk Altenburg)
  enteredon:   Wed May 25 13:41:12 2011 GMT

The resulting entry would be:

HTML::
::StripTags       Rdpfp Strip tags from a string with Perl like PHP  HINNERK


Thanks for registering,
-- 
The PAUSE

PS: The following links are only valid for module list maintainers:

Registration form with editing capabilities:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=28800000_ae6cf93599a373d2&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=28800000_ae6cf93599a373d2&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
  
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=HTML%3A%3AStripTags

Reply via email to