summaryrefslogtreecommitdiff
path: root/bk_xhtml.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-03-25 18:32:05 +0000
committerSimon Tatham <anakin@pobox.com>2004-03-25 18:32:05 +0000
commit2c5767ab6e1ea37c190be1da007cc015a5d3a7ed (patch)
tree04b7e27edba17f8a954439376e444d1925676b38 /bk_xhtml.c
parente5650a35b3ee30edc4288fba5c1e21cc29247fdc (diff)
downloadhalibut-2c5767ab6e1ea37c190be1da007cc015a5d3a7ed.zip
halibut-2c5767ab6e1ea37c190be1da007cc015a5d3a7ed.tar.gz
halibut-2c5767ab6e1ea37c190be1da007cc015a5d3a7ed.tar.bz2
halibut-2c5767ab6e1ea37c190be1da007cc015a5d3a7ed.tar.xz
Add a \quote{...} directive, working like <blockquote> in HTML.
[originally from svn r3978]
Diffstat (limited to 'bk_xhtml.c')
-rw-r--r--bk_xhtml.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bk_xhtml.c b/bk_xhtml.c
index 3024664..449eb4e 100644
--- a/bk_xhtml.c
+++ b/bk_xhtml.c
@@ -1142,6 +1142,12 @@ static void xhtml_do_paras(FILE *fp, paragraph *p)
goto closeofflist; /* ick */
}
break;
+ case para_QuotePush:
+ fprintf(fp, "<blockquote>\n");
+ break;
+ case para_QuotePop:
+ fprintf(fp, "</blockquote>\n");
+ break;
case para_Bullet:
case para_NumberedList: