Sha256: 424240da13cf3205e4cbcd7e2896e4d3431efeefa5a9a1c6b40383ee630ed143

Contents?: true

Size: 683 Bytes

Versions: 10

Compression:

Stored size: 683 Bytes

Contents

--FILE--
<?php
$env = new MtHaml\Environment('twig', array('enable_escaper' => false));
echo $env->compileString($parts['HAML'], "$file.haml");

--HAML--

%html
  %a
    %t<
  %blockquote<
    %div
      Foo!
  %img
  %pre<
    foo
    bar
  %img

  %foo
  %div<
    %a
      test
    %b
      test

  %p<= "Foo\nBar"

  %img
  %img>
  %img

  %img
  %pre><
    foo
    bar
  %img

--EXPECT--
<html>
  <a>
    <t></t>
  </a>
  <blockquote><div>
    Foo!
  </div></blockquote>
  <img>
  <pre>foo
  bar</pre>
  <img>
  <foo></foo>
  <div><a>
    test
  </a>
  <b>
    test
  </b></div>
  <p>{% line 21 %}{{ "Foo\nBar" }}</p>
  <img><img><img>
  <img><pre>foo
  bar</pre><img>
</html>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
guard-mthaml-0.4.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.3.1 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.3.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.2.5 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.2.4 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.2.3 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.2.2 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.2.1 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.2.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test
guard-mthaml-0.1.0 vendor/mthaml/mthaml/test/MtHaml/Tests/fixtures/environment/whitespace.test