Bugfix in wiki preview

Closes SD-211.