SIGN IN SIGN UP

fix: parse $t() nesting options block that spans multiple lines (#2440)

The options-vs-formatters boundary in nest() detected the options
object with /{.*}/, whose dot does not match line breaks. A nesting
options block containing a newline was therefore treated as having no
options, so the whole block was mis-split as trailing formatters and
the interpolation variables inside it were dropped. Match across line
breaks with the dotAll flag.
S
spokodev committed
bed56c115979de52bd85c46d9b7a7b13361bf736
Parent: c19e458
Committed by GitHub <noreply@github.com> on 7/8/2026, 2:08:45 PM