WWW::No...xtToHtml(3)

πŸ“¦
version 2.02 Β· 2 versions
, in alpine 3.24

✨ WWW::No...xtToHtml(3) ✨

okay bestie, so this is the manual page for WWW::No...xtToHtml(3) and honestly? it's giving "small but mighty" πŸ’… let's get into it.


🌸 NAME 🌸

WWW::Noss::TextToHtml β€” the little module that converts text to HTML πŸŽ€


✨ USAGE ✨

bestie, here's literally how you use it:

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

my $html = text2html($text);

that's it. that's the whole vibe check. πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

so WWW::Noss::TextToHtml is a module that provides subroutines for converting plain text to HTML. lowkey iconic, highkey useful. ✨

heads up though β€” this is a private module, so please consult the noss manual for the user documentation, okay? iykyk πŸ™ˆ

πŸŽ€ SUBROUTINES πŸŽ€

not me having to tell you this but: subroutines are not exported automatically. you gotta ask for them, bestie 🫢

  • $html = text2html($text) β€” converts the given string $text to HTML. literally its whole job πŸ’…
  • $escaped = escape_html($text) β€” escapes the given text by converting special HTML characters ("<", ">", and "&") into their entity equivalents. safety first, always 🌈
  • $unescaped = unescape_html($text) β€” unescapes the given text by converting HTML entities to their string equivalents. the reverse slay πŸ”₯
  • $stripped = strip_tags($text) β€” strips HTML tags from the given text. bye bye tags πŸ‘‹

πŸ‘‘ AUTHOR πŸ‘‘

written by Samuel Young, <samyoung12788@gmail.com>. πŸ’–

this project's source can be found on its Codeberg page <https://codeberg.org/1-1sam/noss.git>. comments and pull requests are welcome! fr fr, come hang out πŸ¦‹


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.

(that's the legal bit, and we respect it 😌)


⭐ SEE ALSO ⭐

  • noss β€” go read it, bestie 🧚

and that's the whole page! πŸŽ‰ this cutie was rendered by perl v5.42.2 and dated 2026-02-15 β€” mwah, periodt πŸ’‹πŸ’…

πŸ“¦ where this page comes from