Author: tlsa
Date: Tue Feb 26 22:31:38 2008
New Revision: 3869
URL:
http://source.netsurf-browser.org?rev=3869&view=rev
Log:
Don't meddle with blockquote's margins.
Modified:
trunk/netsurf/render/box_construct.c
Modified: trunk/netsurf/render/box_construct.c
URL:
http://source.netsurf-browser.org/trunk/netsurf/render/box_construct.c?re...
==============================================================================
--- trunk/netsurf/render/box_construct.c (original)
+++ trunk/netsurf/render/box_construct.c Tue Feb 26 22:31:38 2008
@@ -1164,7 +1164,8 @@
*/
if (markup_track->align != ALIGN_NONE &&
(style->display == CSS_DISPLAY_BLOCK ||
- style->display == CSS_DISPLAY_TABLE)) {
+ style->display == CSS_DISPLAY_TABLE) &&
+ (strcmp((const char *) n->name, "blockquote") != 0)) {
if (!author->margin[LEFT]) {
if (markup_track->align == ALIGN_LEFT) {
/* left */
@@ -1348,7 +1349,7 @@
if ((unsigned char) s[0] < 0x80)
s[0] = toupper(s[0]);
for (i = 1; i < len; ++i)
- if ((unsigned char) s[i] < 0x80 &&
+ if ((unsigned char) s[i] < 0x80 &&
isspace(s[i - 1]))
s[i] = toupper(s[i]);
break;