log.error("Could not construct table of contents: Filter Error", e);
throw new PluginException("Unable to construct table of contents (see logs)");
}
context.setVariable( VAR_ALREADY_PROCESSING, "x" );
JSPWikiMarkupParser parser = new JSPWikiMarkupParser( context,
new StringReader(wikiText) );
parser.addHeadingListener( this );
parser.parse();
sb.append( "<ul>\n"+m_buf.toString()+"</ul>\n" );
}
catch( IOException e )
{