mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
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. [ From commit e347122e6dff75dcb7fc1dc877c77ad16ed13c07 in ELinks 0.12.GIT. --KON ]
This commit is contained in:
parent
8104dc80cd
commit
fd70a5b352
@ -212,7 +212,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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user