59606162636465
} return content; } public static String renderConfluence(String content, String pattern) { return renderMarkup(content, new ConfluenceLanguage(), pattern); }
202203204205206207208209210211212
if (markupText != null) { try { switch (syntax){ case CONFLUENCE: parse(doc, repositoryName, commitId, new ConfluenceLanguage()); break; case MARKDOWN: parse(doc, repositoryName, commitId); break; case MEDIAWIKI:
210211212213214215216217218219220
292293294295296297298299300301302
break; case MEDIAWIKI: lang = new MediaWikiLanguage(); break; case CONFLUENCE: lang = new ConfluenceLanguage(); break; default: throw new MoxieException("Unrecognized wiki syntax!"); }