Show chore description on chorecard (closes #1759)

This commit is contained in:
Bernd Bestel
2022-01-23 20:02:16 +01:00
parent cf52e5ec96
commit fa3e705673
3 changed files with 10 additions and 0 deletions

View File

@@ -202,3 +202,8 @@ function CleanFileName(fileName)
// Umlaute seem to cause problems on Linux...
return fileName.toLowerCase().replaceAll(/ä/g, 'ae').replaceAll(/ö/g, 'oe').replaceAll(/ü/g, 'ue').replaceAll(/ß/g, 'ss');
}
function nl2br(s)
{
return s.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, "$1<br>$2");
}