Change apostrophes in Daily page statistics tooltips to HTML encoded apos;

This commit is contained in:
Guy Scharf 2020-09-20 19:05:22 -07:00
parent 3a4a52df1f
commit 9e899c1d15

View File

@ -1345,6 +1345,10 @@ QString Daily::getStatisticsInfo(Day * day)
}
}
// QString oldtip = tooltip;
tooltip.replace("'", "'");
// qDebug() << schema::channel[code].label() << "old tooltip" << oldtip << "tooltip" << tooltip ;
html+=QString("<tr><td align=left title='%6'>%1</td><td>%2</td><td>%3</td><td>%4</td><td>%5</td></tr>")
.arg(schema::channel[code].label())
.arg(mn,0,'f',2)