1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[xml] Do not build tags and tables.

This commit is contained in:
Witold Filipczyk 2021-07-18 12:28:57 +02:00
parent 147f5e3e27
commit 347b1d43ae
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
top_builddir=../../.. top_builddir=../../..
include $(top_builddir)/Makefile.config include $(top_builddir)/Makefile.config
OBJS = renderer.o renderer2.o tables.o tags.o OBJS = renderer.o renderer2.o
include $(top_srcdir)/Makefile.lib include $(top_srcdir)/Makefile.lib

View File

@ -1,2 +1,2 @@
#subdir('html') #subdir('html')
srcs += files('renderer.c', 'renderer2.c', 'tables.c', 'tags.c') srcs += files('renderer.c', 'renderer2.c')

View File

@ -23,7 +23,6 @@
#include "document/plain/renderer.h" #include "document/plain/renderer.h"
#include "document/renderer.h" #include "document/renderer.h"
#include "document/xml/renderer2.h" #include "document/xml/renderer2.h"
#include "document/xml/tags.h"
#include "ecmascript/spidermonkey/document.h" #include "ecmascript/spidermonkey/document.h"
#include "globhist/globhist.h" #include "globhist/globhist.h"
#include "intl/charsets.h" #include "intl/charsets.h"
@ -38,6 +37,8 @@
#include <libxml++/libxml++.h> #include <libxml++/libxml++.h>
#if 0
static void static void
dump_text(struct source_renderer *renderer, unsigned char *html, int length) dump_text(struct source_renderer *renderer, unsigned char *html, int length)
{ {
@ -262,6 +263,7 @@ dump_dom_structure(struct source_renderer *renderer, void *nod, int depth)
*/ */
return true; return true;
} }
#endif
void void
render_xhtml_document(struct cache_entry *cached, struct document *document, struct string *buffer) render_xhtml_document(struct cache_entry *cached, struct document *document, struct string *buffer)
@ -301,5 +303,4 @@ render_xhtml_document(struct cache_entry *cached, struct document *document, str
} }
mem_free_set(&cached->head, head.source); mem_free_set(&cached->head, head.source);
render_html_document(cached, document, buffer); render_html_document(cached, document, buffer);
done_string(&tt);
} }

View File

@ -9,7 +9,6 @@ struct cache_entry;
struct document; struct document;
struct string; struct string;
bool dump_dom_structure(struct source_renderer *renderer, void *nod, int depth);
void render_xhtml_document(struct cache_entry *cached, struct document *document, struct string *buffer); void render_xhtml_document(struct cache_entry *cached, struct document *document, struct string *buffer);