diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-07-09 01:58:40 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-07-09 01:58:40 -0600 |
commit | 823e9e04ffcbd767f1ed3ab6ccc907ba86e23d25 (patch) | |
tree | c74c8abdfdc91327736760a882d8de6ee3fcb556 /pith/filter.c | |
parent | 0f89ad88df81df9d2ca7eafa276fecf8206fb598 (diff) | |
download | alpine-823e9e04ffcbd767f1ed3ab6ccc907ba86e23d25.tar.xz |
* No need to write twice the character after src="...". Make sure it only appears once.
Diffstat (limited to 'pith/filter.c')
-rw-r--r-- | pith/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/filter.c b/pith/filter.c index 8e7c92ee..13ee459e 100644 --- a/pith/filter.c +++ b/pith/filter.c @@ -9192,7 +9192,7 @@ gf_html_cid2file(FILTER_S *f, int cmd) } else f->n = 0; GF_PUTC(f->next, '\"'); - GF_PUTC(f->next, c); + /* no need to write "c" right now to the stream. It will be written below */ state = ASCII_ISSPACE(c) ? 1 : 0; RESET_FILTER(f); } |