Skip to content

Commit 70dfd97

Browse files
authored
Merge pull request #97 from Slicer/9-respect-multi-line-strings
Newline characters replaced by line breaks (rebased)
2 parents 207141f + e5e41f5 commit 70dfd97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ModuleDescriptionParser/ModuleDescriptionParser.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1977,7 +1977,7 @@ endElement(void *userData, const char *element)
19771977
{
19781978
std::string temp = ps->LastData[ps->Depth];
19791979
replaceSubWithSub(temp, "\"", "'");
1980-
//replaceSubWithSub(temp, "\n", " ");
1980+
replaceSubWithSub(temp, "\n", "\\n");
19811981
trimLeadingAndTrailing(temp);
19821982
if (!group && !parameter)
19831983
{

0 commit comments

Comments
 (0)