Sha256: c46a19f5d96f848040880ba6190a1efe98e99bb410b2d9de4ad7f7a13205ba8f
Contents?: true
Size: 269 Bytes
Versions: 15
Compression:
Stored size: 269 Bytes
Contents
require 'spec_helper' require 'wlang/html' module WLang describe Html, "&{...}" do def render(tpl, scope = {}) Html.render(tpl, scope, "") end it 'escapes html' do render("&{<script>}", binding).should eq("<script>") end end end
Version data entries
15 entries across 15 versions & 1 rubygems