diff options
-rw-r--r-- | src/html.c | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -26,35 +26,6 @@ #include "html.h" -static const gchar *document_format = - "<!doctype html>\n" - "<html dir=\"%s\">\n" - "<head>\n" - "<meta charset=\"utf-8\">\n" - "<title>%s</title>\n" - "</head>\n" - "%s" - "</html>\n"; - -gchar * -mq_html_document(const gchar *title, ...) -{ - va_list ap; - gchar *children; - gchar *document; - - va_start(ap, element); - children = mq_html_container_v("body", ap); - va_end(ap); - - document = g_strdup_printf(document_format, - GTK_TEXT_DIR_RTL ? "rtl" : "ltr", title, children); - - g_free(children); - - return document; -} - gchar * mq_html_container(const gchar *element, ...) { |