Please sign in to comment.
Add semicolon to style data for safety
If the style data does not contain a semicolon, the loop removing @import statements will run infinitely, because the search for ';' returns -1, which with a +1 becomes 0, and appends the data variable to itself. Making sure the data variable has at least one semicolon fixes this problem.
- Loading branch information...