blob: 60840f76b6dda6622766a19080fb975714341413 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//! [0]
QString plain = "#include <QtCore>"
QString html = Qt::escape(plain);
// html == "#include <QtCore>"
//! [0]
//! [1]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>...
//! [1]
|