Add POD and fix typos to get POD coverage up
This commit is contained in:
parent
c2e38ac416
commit
a3a073296c
3 changed files with 18 additions and 1 deletions
|
|
@ -88,6 +88,17 @@ sub handler {
|
|||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 formatXML ( content )
|
||||
|
||||
Escape XML entities, &, <, >, ' and ".
|
||||
|
||||
=head3 content
|
||||
|
||||
The content that will have XML entities escaped.
|
||||
|
||||
=cut
|
||||
|
||||
sub formatXML {
|
||||
my $content = shift;
|
||||
$content =~ s/&/&/g;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue