Sha256: c465ae451d33abe4ccfec4be1a27f86b67a90f412556f5a3887a13515ef333c1

Contents?: true

Size: 700 Bytes

Versions: 4

Compression:

Stored size: 700 Bytes

Contents

Feature: ignoring parts of a file

    In order to not mess up mixed files
    As a web developer using typogruby
    I want to filter just HTML and not Javascript

    Scenario:
        Given a file named "input.html" with:
        """
        <script>
        document.write("<p>Foo BAR!</p>");
        </script>
        <p>"This IS a simple file!</p>
        """
        When I run "typogruby input.html"
        Then the output should contain exactly:
        """
        <script>
        document.write("<p>Foo BAR!</p>");
        </script>
        <p><span class="dquo">&#8220;</span>This <span class="caps">IS</span> a simple&nbsp;file!</p>
        """
        And the exit status should be 0

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typogruby-1.0.11 features/ignoring.feature
typogruby-1.0.10 features/ignoring.feature
typogruby-1.0.9 features/ignoring.feature
typogruby-1.0.8 features/ignoring.feature