Closed woahdae closed 5 years ago
Steps to reproduce:
polyglot = new Polyglot() polyglot.phrases["a %{foo}"] = "b %{foo}" polyglot.t("a %{foo}", {foo: '$$'}) // incorrectly returns "b $"
Any combination of interpolating consecutive dollar signs will return Math.ceil(n/2) dollar signs in the resulting string.
Math.ceil(n/2)
Crap, I thought I was on the latest version, not true. Latest version does not have this issue. Sorry.
Steps to reproduce:
Any combination of interpolating consecutive dollar signs will return
Math.ceil(n/2)
dollar signs in the resulting string.