31 #ifndef REGIFY_UTIL_HTML_H
32 #define REGIFY_UTIL_HTML_H
void * ruSet
An opaque type representing a set object.
Definition: map.h:247
RUAPI perm_chars ruHtmlSanitize(perm_chars html, alloc_chars *htmlCopy, alloc_chars *plainTxt)
Sanitizes given HTML and optionally extracts plain text.
RUAPI perm_chars ruHtmlSanitizeCustom(perm_chars html, alloc_chars *htmlCopy, alloc_chars *plainTxt, ruSet excludeTags, ruSet excludeAttrs)
Sanitizes given HTML and optionally extracts plain text.
RUAPI bool ruHtmlTestFor(trans_chars content)
Checks whether given buffer is HTML.
RUAPI alloc_chars ruHtmlEncodeText(trans_chars text)
Return HTML compatible version of given text without any HTML wrapper tags.
const char * trans_chars
A transient NULL terminated string pointer.
Definition: regify-util.h:186
const char * perm_chars
A permanent NULL terminated string pointer.
Definition: regify-util.h:176
char * alloc_chars
An allocated NULL terminated string pointer.
Definition: regify-util.h:199