nunomaduro / termwind

🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
MIT License
2.29k stars 78 forks source link

feat: Add support to `HTML Comments`. #81

Closed xiCO2k closed 3 years ago

xiCO2k commented 3 years ago

This PR adds the support to handle HTML Comments.

Example:

render(<<<'HTML'
    <div>
        <!-- This is a comment -->
        <div>Hello World</div>
    </div>
HTML);

Output:

Hello World