diff options
author | Alexander <lex.borisov@gmail.com> | 2020-01-08 16:40:18 +0300 |
---|---|---|
committer | Alexander <lex.borisov@gmail.com> | 2020-01-08 16:40:18 +0300 |
commit | a7ce974123f08a630e4c7f7abaa38f7314e2b825 (patch) | |
tree | ac95e805122792ccdb02b62560f4fa1cfd51e9c0 | |
parent | 4c03bfc2a04763d803e6a23eb10605e864ad1f59 (diff) |
Fixed myhtml_token_node_attribute_last() for return last attribute.
-rw-r--r-- | source/myhtml/token.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/myhtml/token.c b/source/myhtml/token.c index 0dcaa97..73d1e1a 100644 --- a/source/myhtml/token.c +++ b/source/myhtml/token.c @@ -227,7 +227,7 @@ myhtml_tree_attr_t * myhtml_token_node_attribute_first(myhtml_token_node_t *toke myhtml_tree_attr_t * myhtml_token_node_attribute_last(myhtml_token_node_t *token_node) { - return token_node->attr_first; + return token_node->attr_last; } const char * myhtml_token_node_text(myhtml_token_node_t *token_node, size_t *length) |