sipin/gorazor

bug (?) with @raw and variable.variable in range

Closed this issue · 1 comments

Say, I have this code:

@{
        for _, v := range p.Posts {
                <h1>@raw(v.Title)</h1>
                <p>@raw(v.Content)</h1>
        }
    }

v.Title and v.Content vars do not produce raw results (gorazor and HTMLEscape is still used after recompile).

Sorry, my fault. Actually somehow I didn't recompile -_-