*/
private ParseContext makeParseContext() {
ParseContext result = new ParseContext();
Set<String> validTags = _linkExtractor.getLinkTags();
HtmlMapper defaultMapper = DefaultHtmlMapper.INSTANCE;
for (String tag : validTags) {
if (defaultMapper.mapSafeElement(tag) == null) {
result.set(HtmlMapper.class, new CustomHtmlMapper(validTags, _linkExtractor.getLinkAttributeTypes()));
break;
}
}