diff --git a/plugins/export.c b/plugins/export.c index c9d1f13d87..4f6cc2713d 100644 --- a/plugins/export.c +++ b/plugins/export.c @@ -630,6 +630,7 @@ static void write_html_file(GeanyDocument *doc, const gchar *filename, if (span_open) { g_string_append(body, ""); + span_open = FALSE; } if (i < doc_len) {