Fix for if inline is set to false on the directive
Merge pull request #61 from mattlewis92/master

Fix for if inline is set to false on the directive