aboutsummaryrefslogtreecommitdiff
path: root/src/html_common.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/html_common.hh')
-rw-r--r--src/html_common.hh9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/html_common.hh b/src/html_common.hh
index cf5c8114..8eed11f3 100644
--- a/src/html_common.hh
+++ b/src/html_common.hh
@@ -34,6 +34,9 @@
html->bugMessage(__VA_ARGS__); \
} D_STMT_END
+
+extern bool tagIsDisplayEnabled;
+
/*
* Typedefs
*/
@@ -103,7 +106,7 @@ struct _DilloHtmlState {
DilloHtmlTableMode table_mode;
DilloHtmlTableBorderMode table_border_mode;
bool cell_text_align_set;
-
+ bool display_none;
DilloHtmlListMode list_type;
int list_number;
@@ -238,8 +241,8 @@ DilloUrl *a_Html_url_new(DilloHtml *html,
const char *url_str, const char *base_url,
int use_base_url);
-DilloImage *a_Html_image_new(DilloHtml *html, const char *tag,
- int tagsize, DilloUrl *url);
+void a_Html_image_new(DilloHtml *html, const char *tag, int tagsize);
+DilloImage *a_Html_image_add(DilloHtml *html, DilloUrl *url);
char *a_Html_parse_entities(DilloHtml *html, const char *token, int toksize);
void a_Html_pop_tag(DilloHtml *html, int TagIdx);