$darkmode
Herb C Reference
html_util.h
Go to the documentation of this file.
1 #ifndef HERB_HTML_UTIL_H
2 #define HERB_HTML_UTIL_H
3 
4 #include "util/hb_string.h"
5 #include <stdbool.h>
6 
7 bool is_void_element(hb_string_T tag_name);
8 
9 hb_string_T html_closing_tag_string(hb_string_T tag_name);
10 hb_string_T html_self_closing_tag_string(hb_string_T tag_name);
11 
12 #endif
hb_string_T html_closing_tag_string(hb_string_T tag_name)
Creates a closing HTML tag string like "</tag_name>".
Definition: html_util.c:44
bool is_void_element(hb_string_T tag_name)
Definition: html_util.c:13
hb_string_T html_self_closing_tag_string(hb_string_T tag_name)
Creates a self-closing HTML tag string like "<tag_name />".
Definition: html_util.c:70