mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
`"""` (and `"`) strings are lexed into an array of tokens, consisting of strings and interpolations. Previously, the minimum indententation inside `"""` strings was stripped from the beginning of _all_ of those string tokens. Usually, the indentation is longer than any other sequence of spaces in a `"""` string, so the problem didn't occur in most cases. This commit makes sure to only strip indentation after newlines. Fixes #4314.
7.8 KiB
7.8 KiB