SYNC: chart labels for pie chart

This commit is contained in:
SPRINX0\prochazka
2025-06-09 10:15:23 +02:00
committed by Diflow
parent 171d58658a
commit e77b83bd92
4 changed files with 9 additions and 1 deletions

View File

@@ -637,7 +637,7 @@ export function parseNumberSafe(value) {
return parseFloat(value);
}
const frontMatterRe = /^--\ >>>[ \t]*\n(.*)\n-- <<<[ \t]*\n/s;
const frontMatterRe = /^--\ >>>[ \t\r]*\n(.*)\n-- <<<[ \t\r]*\n/s;
export function getSqlFrontMatter(text: string, yamlModule) {
const match = text.match(frontMatterRe);