mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 11:06:36 +00:00
Show chore description on chorecard (closes #1759)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user