}
@Override
public PlainTextMapping filter(String wikiText) {
try {
final CompiledPage compiledPage = compiler.postprocess(pageId, wikiText, null);
final TextConverter textConverter = new TextConverter(config, WRAP_COL);
textConverter.enableMapping(enableMapping);
final String plainText = (String) textConverter.go(compiledPage.getPage());
if (enableMapping) {
return new PlainTextMapping(plainText, textConverter.getMapping());
} else {
return new PlainTextMapping(plainText, null);
}