public Rendering render(RefImageNode node, String url, String title, String alt) {
   Rendering rendering = new Rendering(url, alt);
   return StringUtils.isEmpty(title) ? rendering : rendering.withAttribute("title", encode(title));
 }
 public Rendering render(ExpImageNode node, String text) {
   Rendering rendering = new Rendering(node.url, text);
   return StringUtils.isEmpty(node.title)
       ? rendering
       : rendering.withAttribute("title", encode(node.title));
 }