diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-30 21:41:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-30 21:41:35 +0000 |
commit | 049cc4aa4e4a294608c81ec192c2c6b046944a43 (patch) | |
tree | 82eaeede8c3a0411dda066e23560152c72e22626 /libmdocml.c | |
parent | ffefeb2100c9c3849c0cbb7d2b2fe3004d7db057 (diff) | |
download | mandoc-049cc4aa4e4a294608c81ec192c2c6b046944a43.tar.gz |
Preliminary xml output filter (validate-renamed) done.
Diffstat (limited to 'libmdocml.c')
-rw-r--r-- | libmdocml.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libmdocml.c b/libmdocml.c index 11eff674..a10519bd 100644 --- a/libmdocml.c +++ b/libmdocml.c @@ -144,7 +144,7 @@ md_run_leave(const struct md_args *args, struct md_mbuf *mbuf, c = -1; break; default: - if ( ! md_exit_valid(data, -1 == c ? 0 : 1)) + if ( ! md_exit_xml(data, -1 == c ? 0 : 1)) c = -1; break; } @@ -176,7 +176,7 @@ md_run_enter(const struct md_args *args, struct md_mbuf *mbuf, fp = md_line_html4_strict; break; default: - fp = md_line_valid; + fp = md_line_xml; break; } @@ -247,8 +247,7 @@ md_run(const struct md_args *args, (args, &mbuf, &rbuf); break; default: - data = md_init_valid - (args, &mbuf, &rbuf); + data = md_init_xml(args, &mbuf, &rbuf); break; } |