From: John Keeping Date: Sun, 7 Apr 2013 13:40:50 +0000 (+0100) Subject: html.c: add various strbuf and varadic helpers X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/fd00d2f9d6088223f57006949dc6ce7c36316a79?ds=sidebyside;hp=fd00d2f9d6088223f57006949dc6ce7c36316a79 html.c: add various strbuf and varadic helpers This adds the fmtalloc helper, html_txtf, html_vtxtf, and html_attrf. These takes a printf style format string like htmlf but escapes the resulting string. The html_vtxtf variant takes a va_list whereas html_txtf is variadic. Signed-off-by: John Keeping ---