[#1251] Set iframe src URL in resource_view snippet.

Update textpreview plugin.