Fix for url preview
Merge pull request #255 from saumishr/master

Fix for url preview