Prevent errors on content preview.
Merge pull request #80 from md-systems/preview

Prevent errors on content preview.