MCPcopy Create free account
hub / github.com/ElementsProject/elements / HtmlEscape

Function HtmlEscape

src/qt/guiutil.cpp:250–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 6

processNewTransactionMethod · 0.85
PrepareSendTextMethod · 0.85
messageMethod · 0.85
toHTMLMethod · 0.85
closeWalletMethod · 0.85
eventFilterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected