Closed Thanson16 closed 3 years ago
Previous implementation would crash the browser if the sizeValue had no attached unit. Discovered by attempting to browse to https://github.com.
This fix makes the parser more flexible by using regex to extract the value.
https://github.com now loads without the browser crashing.
Previous implementation would crash the browser if the sizeValue had no attached unit. Discovered by attempting to browse to https://github.com.
This fix makes the parser more flexible by using regex to extract the value.
https://github.com now loads without the browser crashing.