mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
StringUtil: Move GetEscapedHtml() into Common namespace
This commit is contained in:
parent
21df3ca572
commit
d368c989e7
4 changed files with 8 additions and 8 deletions
|
@ -675,6 +675,8 @@ std::vector<std::string> CommandLineToUtf8Argv(const wchar_t* command_line)
|
|||
}
|
||||
#endif
|
||||
|
||||
namespace Common
|
||||
{
|
||||
std::string GetEscapedHtml(std::string html)
|
||||
{
|
||||
static constexpr std::array<std::array<const char*, 2>, 5> replacements{{
|
||||
|
@ -693,8 +695,6 @@ std::string GetEscapedHtml(std::string html)
|
|||
return html;
|
||||
}
|
||||
|
||||
namespace Common
|
||||
{
|
||||
void ToLower(std::string* str)
|
||||
{
|
||||
std::transform(str->begin(), str->end(), str->begin(), [](char c) { return Common::ToLower(c); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue