Closed kennethloeffler closed 4 months ago
... is this breaking? :(
User code could theoretically be matching against only CRLF line endings currently (I'm mostly thinking about text files/StringValues - this is moot for scripts since Roblox now aggressively normalizes scripts to LF). I guess such code is busted regardless...
Closes #776 by implementing a new method
Vfs::read_to_string_lf_normalized
and changing the Lua middleware to use it.I'm not really sure why the middlewares were calling
to_owned
oncontents_str
- could it have been a limitation of earlier rbx-dom versions?