This commit is contained in:
parent
f4ce5f17d6
commit
48f26499e0
3 changed files with 4 additions and 3 deletions
2
external/xemil
vendored
2
external/xemil
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 3b7633c2cb47e2b378a77441b078f462941a6336
|
||||
Subproject commit 444453a821207c30eaf77afc5bf5c6c7a4e8c991
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue