NAME
EBook::Ishmael::HTML - Misc. HTML utilities
SYNOPSIS
use EBook::Ishmael::HTML qw(text2html prepare_html);
my $html = text2html(<<"HERE");
A paragraph.
Another paragraph!
HERE
prepare_html(@nodes);
DESCRIPTION
EBook::Ishmael::HTML is a module that provides various utilities for HTML handling. This is a private module, please consult the ishmael manual for user documentation.
SUBROUTINES
$html = text2html($text)
Converts the given string $text to HTML, returning the HTML string.
$stripped = prepare_html(@nodes)
Prepares the give list of XML::LibXML::Node nodes for dumping by removing unnecessary elements. Returns the number of nodes removed.
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-2026 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.