Closed schveiguy closed 4 years ago
Out of bounds error here:
https://github.com/rejectedsoftware/diet-ng/blob/36cf576a2baab861b3992e01bbf70389f2e0bf63/source/diet/parser.d#L705
Trigged by forgetting to finish a line! for example:
a(href="../",onclick
Easy fix, just check in the outer if statement that i is still less than str.length.
i
str.length
I'll do a PR when I get a chance.
Out of bounds error here:
https://github.com/rejectedsoftware/diet-ng/blob/36cf576a2baab861b3992e01bbf70389f2e0bf63/source/diet/parser.d#L705
Trigged by forgetting to finish a line! for example:
Easy fix, just check in the outer if statement that
i
is still less thanstr.length
.I'll do a PR when I get a chance.