diff --git a/src/StepData/StepData_StepReaderData.cxx b/src/StepData/StepData_StepReaderData.cxx index 3221e05d59..0ca0e434bd 100644 --- a/src/StepData/StepData_StepReaderData.cxx +++ b/src/StepData/StepData_StepReaderData.cxx @@ -299,7 +299,7 @@ void StepData_StepReaderData::cleanText(const Handle(TCollection_HAsciiString)& } } } - if (aChar == '\n') + if (aChar == '\n' || aChar == '\r') { aResString.SetValue(aSetCharInd, aResString.ToExtString() + aStringInd); aResStringSize--;