Permalink
Browse files

Bug 763720 - Exclusion of a new line at the end of source code file c…

…ausing nesting of HTML code for function documentation

Update based on comment by D.v.Heesch
  • Loading branch information...
albert-github committed Mar 18, 2016
1 parent 7228bca commit c2c9ed6bd2a94ad25f31a22f70489406c52e5e6f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/definition.cpp
@@ -878,7 +878,7 @@ bool readCodeFragment(const char *fileName,
}
}
result = transcodeCharacterStringToUTF8(result);
if (result.right(1) != "\n") result += "\n";
if (!result.isEmpty() && result.at(result.length()-1)!='\n') result += "\n";
//fprintf(stderr,"readCodeFragement(%d-%d)=%s\n",startLine,endLine,result.data());
return found;
}

0 comments on commit c2c9ed6

Please sign in to comment.