Convert an ISO formatted date to a more readable format.
date is ISO format
Remove any XML/HTML tags from the input; <br/>
tags are replaced by space and all other tags are removed.
Used when the title may include XML tags but the metadata item should not...
input string
input string free of XML tags
Filter XML entities in an xhtml code, and turn them into their equivalent hexadecimal Unicode point
input string
“Slice” a long text into lines separated by the (HTML) <br/>
tag. Used as a rudimentary tool
when adding the title lines to an SVG content.
Note that if the incoming string includes the <br/>
tag already, the function returns the text unchanged. This allows the end-user
to control the input, if required.
Input text
“sliced” text
Convert an HTML5 content (in text or as a DOM) into XHTML5.
the original content
Some common utilities