Nustache icon indicating copy to clipboard operation
Nustache copied to clipboard

Nustache incorrectly escapes unicode characters

Open kflu opened this issue 8 years ago • 0 comments

In Nustach:

    open Nustache.Core
    let x = Map.ofList ["name", "你好"]
    Render.StringToString("{{name}}", x)

this code gives "你好" Note that 你好 is escaped incorrectly.

On contrary, in Mustache demo, it renders correctly:

image

kflu avatar Jan 09 '17 10:01 kflu