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:
parent
147f5e3e27
commit
347b1d43ae
@ -1,6 +1,6 @@
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = renderer.o renderer2.o tables.o tags.o
|
||||
OBJS = renderer.o renderer2.o
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
@ -1,2 +1,2 @@
|
||||
#subdir('html')
|
||||
srcs += files('renderer.c', 'renderer2.c', 'tables.c', 'tags.c')
|
||||
srcs += files('renderer.c', 'renderer2.c')
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "document/plain/renderer.h"
|
||||
#include "document/renderer.h"
|
||||
#include "document/xml/renderer2.h"
|
||||
#include "document/xml/tags.h"
|
||||
#include "ecmascript/spidermonkey/document.h"
|
||||
#include "globhist/globhist.h"
|
||||
#include "intl/charsets.h"
|
||||
@ -38,6 +37,8 @@
|
||||
|
||||
#include <libxml++/libxml++.h>
|
||||
|
||||
#if 0
|
||||
|
||||
static void
|
||||
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;
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
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);
|
||||
render_html_document(cached, document, buffer);
|
||||
done_string(&tt);
|
||||
}
|
@ -9,7 +9,6 @@ struct cache_entry;
|
||||
struct document;
|
||||
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);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user