Commit dfb3fe7d authored by Jasper Floor's avatar Jasper Floor

ESSCOM-7 removed CDATA

parent afcc47c2
......@@ -32,7 +32,7 @@ public class HippoHtmlAdapter extends XmlAdapter<String, HippoHtml> {
}
final HstRequestContext context = RequestContextProvider.get();
final String rewrittenContent = new SimpleContentRewriter().rewrite(html.getContent(), html.getNode(), context);
return "<![CDATA[" + rewrittenContent + "]]>";
return rewrittenContent;
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment