mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Fix index calculations for comments in HTMLParser.
This commit is contained in:
parent
f9dcd088d0
commit
4a947d39b0
@ -163,7 +163,7 @@ void HTMLParserTag::process() {
|
||||
comment_start_index = 4;
|
||||
}
|
||||
|
||||
tag = data.substr(comment_start_index, comment_start_index - data.size() - 3);
|
||||
tag = data.substr(comment_start_index, data.size() - comment_start_index - 3);
|
||||
}
|
||||
|
||||
if (data.size() < 11) {
|
||||
|
Loading…
Reference in New Issue
Block a user