definition module HtmlUtil
/**
* This module provides rudimentary utilities for generating simple html pages.
*
*/
import HTML, JSON, HTTP
/*
* Generate a 404 page
*/
notFoundResponse :: !HTTPRequest -> HTTPResponse
/**
* Gets the value of a parameter in the GET or POST values.
*/
paramValue :: !String !HTTPRequest -> String
/**
* Convert newlines to br tags.
*/
nl2br :: !String -> HtmlTag
/**
* Convert a html string to pure text.
*/
html2text :: !String -> String