mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Fix an another indexing edge case.
This commit is contained in:
parent
4a947d39b0
commit
35fd8d7894
@ -207,6 +207,11 @@ void HTMLParserTag::process() {
|
||||
// grab the tag itself
|
||||
tag = tag_text.substr(0, fspc_index);
|
||||
|
||||
if (fspc_index + 1 == tag_text.size()) {
|
||||
//no args, but had a space like <br />
|
||||
return;
|
||||
}
|
||||
|
||||
String args = tag_text.substr(fspc_index + 1, tag_text.size() - fspc_index - 1);
|
||||
parse_args(args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user