Skip to content

Commit

Permalink
Closes #67
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainhalle committed Aug 5, 2019
1 parent 49a7806 commit 7b4604f
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,17 +306,8 @@ protected AnnotatedString removeAllMarkup(AnnotatedString as)
for (int line_pos = 0; line_pos < as.lineCount(); line_pos++)
{
String orig_source_line = as.getLine(line_pos);
if (orig_source_line.trim().isEmpty())
{
continue;
}
AnnotatedString source_line = as.substring(new Position(line_pos, 0), new Position(line_pos, orig_source_line.length()));
AnnotatedString clean_line = removeMarkup(source_line, line_pos);
if (clean_line.toString().trim().isEmpty())
{
// Ignore completely blank lines
continue;
}
if (first_line)
{
first_line = false;
Expand Down

0 comments on commit 7b4604f

Please sign in to comment.