mirror of
https://github.com/lexborisov/Modest
synced 2024-11-21 13:21:54 +03:00
Fixed infinity loop in some bad selectors.
For example: a['href'] This closes #84 issue on GitHub.
This commit is contained in:
parent
393338d994
commit
81d5ed7afd
@ -80,7 +80,7 @@ bool mycss_selectors_state_drop_component_value(mycss_entry_t* entry, mycss_toke
|
||||
if(token->type == entry->selectors->ending_token) {
|
||||
if(mycss_entry_parser_list_current_is_local(entry) == false) {
|
||||
mycss_entry_parser_list_pop(entry);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user