pattern-lab / patternengine-php-twig

Twig-based PatternEngine for Pattern Lab.
http://patternlab.io/
MIT License
78 stars 36 forks source link

Code inspector does not display html tags under twig tab, says 'file not found' under html tab #29

Closed mathieuhelie closed 8 years ago

mathieuhelie commented 8 years ago

When looking at the code for an individual pattern, we only see twig directives and raw text under the twig tab, such as

{% include "atoms-hero" %}

        Strategic collaboration

Notice the indentation that suggests the html hierarchy of the template, but no tags or classes displayed.

The html tab is even less instructive, simply declaring file doesn't exist.

Installed version of pattern-lab-core is 2.7.0, patternengine-php-twig is 2.0.0

mathieuhelie commented 8 years ago

Upgrading the styleguidekit-twig-default package from ^2.0.0 to ^3.0.0 resolves the issue.