escape json strings in workspaces lastwindow title

This commit is contained in:
vaxerski 2022-09-05 21:32:37 +02:00
parent 5b5f36f494
commit 2ba7cb2414
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ R"#({
g_pCompositor->getWindowsOnWorkspace(w->m_iID),
((int)w->m_bHasFullscreenWindow == 1 ? "true" : "false"),
PLASTW,
PLASTW ? PLASTW->m_szTitle.c_str() : ""
PLASTW ? escapeJSONStrings(PLASTW->m_szTitle).c_str() : ""
);
}