aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/html.cc b/src/html.cc
index f58da4eb..791330db 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2666,12 +2666,11 @@ static void Html_tag_open_li(DilloHtml *html, const char *tag, int tagsize)
}
numtostr((*list_number)++, buf, 16, style->listStyleType);
list_item->initWithText (buf, wordStyle);
- list_item->addSpace (wordStyle);
- html->PrevWasSPC = true;
+ html->PrevWasSPC = true; /* space added in initWithText */
} else {
// unordered
list_item->initWithWidget (new Bullet(), wordStyle);
- list_item->addSpace (wordStyle);
+ html->PrevWasSPC = true; /* space added in initWithWidget */
}
}