Fixed bug where the preview plugin didn't properly support the document_base_url setting.