if (reconciler != null)
return reconciler;
reconciler = new PresentationReconciler();
DefaultDamagerRepairer dr = null;
dr = new DefaultDamagerRepairer(getDefaultScanner());
reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
dr = new DefaultDamagerRepairer(getDjangoTagScanner());
reconciler.setDamager(dr, IDjangoPartitions.DJANGO_TAG);
reconciler.setRepairer(dr, IDjangoPartitions.DJANGO_TAG);
dr = new DefaultDamagerRepairer(getDjangoVarScanner());
reconciler.setDamager(dr, IDjangoPartitions.DJANGO_VARIABLE);
reconciler.setRepairer(dr, IDjangoPartitions.DJANGO_VARIABLE);
dr = new DefaultDamagerRepairer(getDjangoCommentScanner());
reconciler.setDamager(dr, IDjangoPartitions.DJANGO_COMMENT);
reconciler.setRepairer(dr, IDjangoPartitions.DJANGO_COMMENT);
dr = new DefaultDamagerRepairer(getHtmlTagScanner());
reconciler.setDamager(dr, IDjangoPartitions.HTML_TAG);
reconciler.setRepairer(dr, IDjangoPartitions.HTML_TAG);
dr = new DefaultDamagerRepairer(getHtmlCommentScanner());
reconciler.setDamager(dr, IDjangoPartitions.HTML_COMMENT);
reconciler.setRepairer(dr, IDjangoPartitions.HTML_COMMENT);
dr = new DefaultDamagerRepairer(getHtmlDoctypeScanner());
reconciler.setDamager(dr, IDjangoPartitions.HTML_DOCTYPE);
reconciler.setRepairer(dr, IDjangoPartitions.HTML_DOCTYPE);
dr = new DefaultDamagerRepairer(getHtmlScriptletScanner());
reconciler.setDamager(dr, IDjangoPartitions.HTML_SCRIPTLET);
reconciler.setRepairer(dr, IDjangoPartitions.HTML_SCRIPTLET);
dr = new DefaultDamagerRepairer(getHtmlDirectiveScanner());
reconciler.setDamager(dr, IDjangoPartitions.HTML_DIRECTIVE);
reconciler.setRepairer(dr, IDjangoPartitions.HTML_DIRECTIVE);
dr = new DefaultDamagerRepairer(getJavaScriptScanner());
reconciler.setDamager(dr, IDjangoPartitions.JAVA_SCRIPT);
reconciler.setRepairer(dr, IDjangoPartitions.JAVA_SCRIPT);
dr = new DefaultDamagerRepairer(getCSSScanner());
reconciler.setDamager(dr, IDjangoPartitions.HTML_CSS);
reconciler.setRepairer(dr, IDjangoPartitions.HTML_CSS);
return reconciler;
}