MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / HtmlEscape

Function HtmlEscape

src/qt/guiutil.cpp:249–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249QString HtmlEscape(const QString& str, bool fMultiLine)
250{
251 QString escaped = str.toHtmlEscaped();
252 if(fMultiLine)
253 {
254 escaped = escaped.replace("\n", "<br>\n");
255 }
256 return escaped;
257}
258
259QString HtmlEscape(const std::string& str, bool fMultiLine)
260{

Callers 10

processNewTransactionMethod · 0.85
setInfoMethod · 0.85
PrepareSendTextMethod · 0.85
messageMethod · 0.85
toHTMLMethod · 0.85
closeWalletMethod · 0.85
do_migrateMethod · 0.85
migrateMethod · 0.85
restore_and_migrateMethod · 0.85
eventFilterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected