canonicalize genpaths with display inline, contents, html, image, etc.