diff options
author | Daniel Jones <admin@danieljon.es> | 2020-01-19 02:19:02 +1030 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-01-19 02:19:02 +1030 |
commit | 060538b2a8d7ea81c13331d1b01f678092b4bb37 (patch) | |
tree | 6d75472aeb83a95774b3279a38cb31ff7935280a | |
parent | 9fcf5c7cd244c535467151661aa7bef95bfe7eaf (diff) | |
download | websitegenerator-060538b2a8d7ea81c13331d1b01f678092b4bb37.tar.gz websitegenerator-060538b2a8d7ea81c13331d1b01f678092b4bb37.zip |
rss: check for images earlier
-rw-r--r-- | pages.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -846,14 +846,11 @@ writerss(FILE *out, int post) fclose(in); return 0; } - else if (pos == 3) + else if (pos >= 3) { strncpy(description, line, 100); - } - /* try to find images */ - else if (pos > 3) - { + /* try to find images */ char *img; if ((img = strstr(line, "<img"))) { |