From: Adam Dickmeiss Date: Fri, 4 Oct 2002 19:11:17 +0000 (+0000) Subject: Use hex character entity X-Git-Tag: YAZ.1.9.1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=af14560c434c7209f587869bf4d5e15bff108dae;p=yaz-moved-to-github.git Use hex character entity --- diff --git a/util/marcdisp.c b/util/marcdisp.c index 342e5d1..235f040 100644 --- a/util/marcdisp.c +++ b/util/marcdisp.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2002, Index Data * See the file LICENSE for details. * - * $Id: marcdisp.c,v 1.22 2002-10-04 11:24:55 adam Exp $ + * $Id: marcdisp.c,v 1.23 2002-10-04 19:11:17 adam Exp $ */ #if HAVE_CONFIG_H @@ -232,9 +232,9 @@ int yaz_marc_decode (const char *buf, WRBUF wr, int debug, int bsize, int xml) buf[i] != ISO2709_FS && i < end_offset) { if (xml && buf[i] == '<') - wrbuf_puts(wr, "<"); + wrbuf_puts(wr, "<"); else if (xml && buf[i] == '&') - wrbuf_puts(wr, "&"); + wrbuf_puts(wr, "&"); else wrbuf_putc (wr, buf[i]); i++;