Doc typos

This commit is contained in:
Yorhel 2025-05-12 12:38:23 +02:00
parent 32c8fc1b89
commit 31994a4bf6
2 changed files with 3 additions and 3 deletions

4
FU.pm
View file

@ -994,7 +994,7 @@ FU - A Lean and Efficient Zero-Dependency Web Framework.
}
FU::get qr{/hello/(.+)}, sub($who) {
my_html_ "Website title", sub {
myhtml_ "Website title", sub {
h1_ "Hello, $who!";
};
};
@ -1097,7 +1097,7 @@ returning strings deal with perl Unicode strings, not raw bytes.
=item use FU -procname => $name
When the C<-procname> import option is set, FU automatically updates the
process name (as displayed in L<top(1)> and L<ps(1)>, see `$0`) with
process name (as displayed in L<top(1)> and L<ps(1)>, see C<$0>) with
information about the current process, prefixed with the given C<$name>.
=item FU::init_db($info)

View file

@ -263,7 +263,7 @@ and C<"> are replaced with their XML entity.
All of the functions mentioned in this document can be imported individually.
There are also two import groups:
use FU::XMLWriter ':html_';
use FU::XMLWriter ':html5_';
Exports C<tag_()>, C<html_()>, C<lit_()>, C<txt_()> and all of the C<<
<html-tag>_ >> functions mentioned above.