Escape '<' and '>' in WSPR decodes window callsign field

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5572 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-06-10 14:48:35 +00:00
parent ac3c7babf7
commit 15220599d3

View File

@ -4200,7 +4200,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout
.arg(rxFields.at(2), 5) .arg(rxFields.at(2), 5)
.arg(rxFields.at(3), 11) .arg(rxFields.at(3), 11)
.arg(rxFields.at(4), 4) .arg(rxFields.at(4), 4)
.arg(rxFields.at(5), -12) .arg(rxFields.at(5).leftJustified (12).replace ('<', "&lt;").replace ('>', "&gt;"))
.arg(rxFields.at(6), -6) .arg(rxFields.at(6), -6)
.arg(rxFields.at(7), 3); .arg(rxFields.at(7), 3);
grid = rxFields.at(6); grid = rxFields.at(6);
@ -4211,7 +4211,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout
.arg(rxFields.at(2), 5) .arg(rxFields.at(2), 5)
.arg(rxFields.at(3), 11) .arg(rxFields.at(3), 11)
.arg(rxFields.at(4), 4) .arg(rxFields.at(4), 4)
.arg(rxFields.at(5), -12) .arg(rxFields.at(5).leftJustified (12).replace ('<', "&lt;").replace ('>', "&gt;"))
.arg("", -6) .arg("", -6)
.arg(rxFields.at(6), 3); .arg(rxFields.at(6), 3);
} else { } else {