Sha256: f66c8c7388e51d24473005bd9acef8064bb5f0a7cf548204885c87334878bbe5

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

use_block_as_param:
  src: "<r:raw>this and thatn</r:raw>"
  tem: "<%= raw(\"this and thatn\") %>"

out_post:
  src: "<r:link post_string='Monday'/>"
  tem: "<%= make_link(@node) %>Monday"

empty_do:
  src: "this is <li do=''>not</li>good"
  tem: "this is good"

do_with_escaped_quote:
  src: "<li do='raw(\'blah\')'>blah</li>"
  tem: "<li><%= raw(\"blah\") %></li>"

quotes_in_quotes:
  src: "<r:inspect line_numbers='true' text=\"<code lang='lua'&gt;function foo(a); print(a); end</code&gt;\"/>"
  tem: "/:text=>\"<code lang='lua'>function foo\(a\); print\(a\); end</code>\"/"

comment:
  src: "<r:raw>hello</r:raw> //! This is a comment that will be removed"
  tem: "<%= raw(\"hello\") %>"

line_comment:
  src: "<r:raw>hello</r:raw>\n//! This is a comment that will be removed\nabc"
  tem: "<%= raw(\"hello\") %>\nabc"

do_not_touch_js_comment:
  src: "<r:raw>hello</r:raw> // This is a comment that will not be removed"
  tem: "<%= raw(\"hello\") %> // This is a comment that will not be removed"

pass:
  src: "<r:pass foo='hello'/><r:view_passed key='foo'/>"
  tem: "hello"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zafu-0.8.6 test/zafu/basic.yml
zafu-0.8.5 test/zafu/basic.yml
zafu-0.8.4 test/zafu/basic.yml
zafu-0.8.3 test/zafu/basic.yml
zafu-0.8.2 test/zafu/basic.yml