public static org.jdom2.Document loadInput(String html) throws LoadInputException {
try {
return new SAXBuilder().build(new StringReader(html));
} catch (JDOMException e) {
throw new LoadInputException("Unable to parse input", e);
} catch (IOException e) {
throw new LoadInputException("Unable to parse input", e);
}
}