mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Add action CopyTableToHtml
Копирование результатов запроса в буфер обмена в виде таблицы html.
This commit is contained in:
parent
8771f32058
commit
83e372aae5
11 changed files with 168 additions and 66 deletions
|
|
@ -85,6 +85,13 @@ wxString BoolToStr(bool value)
|
|||
return value ? wxT("true") : wxT("false");
|
||||
}
|
||||
|
||||
wxString escapeHtml(wxString text, bool pre) {
|
||||
text.Replace("&", "&");
|
||||
text.Replace("<", "<");
|
||||
text.Replace(">", ">");
|
||||
if (!pre) text.Replace("\n", "¶<br>");
|
||||
return text;
|
||||
}
|
||||
|
||||
|
||||
bool StrToBool(const wxString &value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue