mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Add a few comment and remove an obsolete one
This commit is contained in:
parent
9c720c2cc8
commit
4eae1d4882
@ -341,6 +341,9 @@ walk_dom_nodes(struct dom_stack *stack, struct dom_node *root)
|
|||||||
/* DOM Stack Tracing: */
|
/* DOM Stack Tracing: */
|
||||||
|
|
||||||
#ifdef DOM_STACK_TRACE
|
#ifdef DOM_STACK_TRACE
|
||||||
|
|
||||||
|
/* Compress a string to a single line with newlines etc. replaced with "\\n"
|
||||||
|
* sequence. */
|
||||||
static inline unsigned char *
|
static inline unsigned char *
|
||||||
compress_string(unsigned char *string, unsigned int length)
|
compress_string(unsigned char *string, unsigned int length)
|
||||||
{
|
{
|
||||||
@ -364,7 +367,8 @@ compress_string(unsigned char *string, unsigned int length)
|
|||||||
return buffer.source;
|
return buffer.source;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @codepage denotes how entity strings should be decoded. */
|
/* Set @string to the value of the given @node, however, with strings
|
||||||
|
* compressed and entity references 'expanded'. */
|
||||||
static void
|
static void
|
||||||
set_enhanced_dom_node_value(struct dom_string *string, struct dom_node *node)
|
set_enhanced_dom_node_value(struct dom_string *string, struct dom_node *node)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user