| 256 | |
| 257 | |
| 258 | wxString FormatHtmlText( const wxString & Text ){ |
| 259 | |
| 260 | wxString localeStr = wxLocale::GetSystemEncodingName(); |
| 261 | |
| 262 | return |
| 263 | wxT("<html><head><META http-equiv=\"Content-Type\" content=\"text/html; charset=") + |
| 264 | localeStr + |
| 265 | wxT("\"></head>") + |
| 266 | WrapText( LinkExpand( Text ))+ |
| 267 | wxT("</html>"); |
| 268 | } |
| 269 |
no test coverage detected