Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- escape the text section.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24242 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Jan 28, 2015
1 parent b596e53 commit 868687a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Simulation/SimulationOutputWidget.cpp
Expand Up @@ -449,7 +449,7 @@ void SimulationOutputWidget::writeSimulationOutput(QString output, StringHandler
if (textFormat) {
output = QString("<message stream=\"stdout\" type=\"%1\" text=\"%2\" />")
.arg(StringHandler::getSimulationMessageTypeString(type))
.arg(output);
.arg(Qt::escape(output));
}
if (!mpSimulationOutputHandler) {
mpSimulationOutputHandler = new SimulationOutputHandler(this, output);
Expand Down

0 comments on commit 868687a

Please sign in to comment.