From c4500039b2b97564454cc45af0d55bef66b6d350 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 12 Mar 2007 16:43:17 +0100 Subject: [PATCH] get_attr_value: do not do trim_chars trim_chars was called only in debug mode and the results of the get_attr_val for value=" something " in debug mode differ from normal and fastmem mode. --- src/document/html/parser/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document/html/parser/parse.c b/src/document/html/parser/parse.c index 46e636f8f..135f64599 100644 --- a/src/document/html/parser/parse.c +++ b/src/document/html/parser/parse.c @@ -211,7 +211,7 @@ found_endattr: mem_free(saved_attr); } - set_mem_comment(trim_chars(attr, ' ', NULL), name, strlen(name)); + set_mem_comment(attr, name, strlen(name)); return attr; } else {