diff --git a/external/xemil b/external/xemil index 3b7633c..444453a 160000 --- a/external/xemil +++ b/external/xemil @@ -1 +1 @@ -Subproject commit 3b7633c2cb47e2b378a77441b078f462941a6336 +Subproject commit 444453a821207c30eaf77afc5bf5c6c7a4e8c991 diff --git a/src/default.c b/src/default.c index f98daac..81ea4c8 100644 --- a/src/default.c +++ b/src/default.c @@ -241,8 +241,8 @@ void default_body(FILE* out, const char* top, xl_node_t* element, int spec, int while(child != NULL) { if(child->type == XL_NODE_NODE && child->name != NULL) { default_body(out, top, child, spec, pre, indent + 1 + add); - } else if(child->type == XL_NODE_TEXT && child->text != NULL) { - print(out, child->text, pre, pre ? 0 : (indent + 1 + add)); + } else if(child->type == XL_NODE_TEXT && (pre ? (child->text_raw != NULL) : (child->text != NULL))) { + print(out, pre ? child->text_raw : child->text, pre, pre ? 0 : (indent + 1 + add)); } child = child->next; diff --git a/src/skin/classic.c b/src/skin/classic.c index a154eb4..4ba3d0b 100644 --- a/src/skin/classic.c +++ b/src/skin/classic.c @@ -51,6 +51,7 @@ void classic_stylesheet(FILE* out, const char* top) { fprintf(out, " border-right: solid 1px #aaaaaa;\n"); fprintf(out, " border-bottom: solid 1px #aaaaaa;\n"); fprintf(out, " padding: 8px;\n"); + fprintf(out, " width: 150px;\n"); fprintf(out, "}\n"); fprintf(out, "\n"); fprintf(out, "#content, #footer {\n");