NAME

WWW::Noss::TextToHtml - Convert text to HTML

USAGE

use WWW::Noss::TextToHtml(text2html);

my $html = text2html($text);

DESCRIPTION

WWW::Noss::TextToHtml is a module that provides subroutines for converting plain text to HTML. This is a private module, please consult the noss manual for user documentation.

SUBROUTINES

Subroutines are not exported automatically.

$html = text2html($text)

Converts the given string $text to HTML.

$escaped = escape_html($text)

Escapes the given text by converting special HTML characters (<, >, and &) into their entity equivalents.

AUTHOR

Written by Samuel Young, <samyoung12788@gmail.com>.

This project's source can be found on its Codeberg page. Comments and pull requests are welcome!

COPYRIGHT

Copyright (C) 2025 Samuel Young

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

SEE ALSO

noss