if (StringUtils.isBlank(input.trim())) {
return "";
}
input = preProcess(input);
try {
List<Line> lines = new JHamlParser(new StringReader(input)).jHamlSource();
helper.getErrorChecker().checkDocumentDoesNotBeginWithIndentation(lines);
List<Line> lineTree = processNesting(lines);
return postProcess(renderLines(lineTree));
} catch (RuntimeException e) {
throw e;