1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Trim trailing whitespaces.

This commit is contained in:
Laurent MONIN 2006-01-28 01:59:22 +01:00 committed by Laurent MONIN
parent bae3b58146
commit 5114c9d110
3 changed files with 4 additions and 4 deletions

View File

@ -1024,7 +1024,7 @@ render_dom_document(struct cache_entry *cached, struct document *document,
} else if (renderer.doctype == SGML_DOCTYPE_RSS) {
add_dom_stack_context(&parser->stack, &renderer,
&dom_rss_renderer_context_info);
add_dom_config_normalizer(&parser->stack, RSS_CONFIG_FLAGS);
add_dom_config_normalizer(&parser->stack, RSS_CONFIG_FLAGS);
}
/* FIXME: When rendering this way we don't really care about the code.

View File

@ -7,7 +7,7 @@ struct dom_stack;
/* API Doc :: dom-config */
/** DOM Configuration
*
*
* The DOMConfiguration interface represents the configuration of a document.
* Using the configuration, it is possible to change the behaviour of how
* document normalization is done, such as replacing the CDATASection nodes
@ -33,7 +33,7 @@ enum dom_config_flag {
DOM_CONFIG_COMMENTS = 2,
/** "element-content-whitespace"
*
*
* The default is true and will keep all whitespaces in the document.
* When false, discard all Text nodes that contain only whitespaces. */
DOM_CONFIG_ELEMENT_CONTENT_WHITESPACE = 4,

View File

@ -296,7 +296,7 @@ end:
abort_connection(conn, S_OUT_OF_MEM);
return;
}
read_from_socket(conn->data_socket, buf, S_CONN, fsp_got_data);
read_from_socket(conn->data_socket, buf, S_CONN, fsp_got_data);
}
#undef READ_SIZE