fix inline preview
Merge pull request #313 from daeks/inline

fix inline preview