Fixed widget previews: always trim the markup returned by /apos/render-widget so we don't wind up with a text node instead of a widget due to whitespace