MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / TextColorHtml

Function TextColorHtml

AdaptixClient/Source/Utils/Convert.cpp:216–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216QString TextColorHtml(const QString &text, const QString &color)
217{
218 if (text.isEmpty())
219 return "";
220
221 return R"(<font color=")" + color + R"(">)" + text.toHtmlEscaped() + R"(</font>)";
222}
223
224
225/*

Callers 4

SetDisksWinMethod · 0.85
AddFilesMethod · 0.85
SetStatusMethod · 0.85
SetStatusMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected