Compare commits
2 Commits
c78d545f57
...
3ddd4f8397
| Author | SHA1 | Date |
|---|---|---|
|
|
3ddd4f8397 | |
|
|
97a533e298 |
|
|
@ -24,16 +24,14 @@ class ManifestGenerator {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean text for CSV output by normalizing whitespace and escaping quotes
|
* Clean text for CSV output by normalizing whitespace.
|
||||||
|
* Note: Quote escaping is handled by escapeCsv() at write time.
|
||||||
* @param {string} text - Text to clean
|
* @param {string} text - Text to clean
|
||||||
* @returns {string} Cleaned text safe for CSV
|
* @returns {string} Cleaned text
|
||||||
*/
|
*/
|
||||||
cleanForCSV(text) {
|
cleanForCSV(text) {
|
||||||
if (!text) return '';
|
if (!text) return '';
|
||||||
return text
|
return text.trim().replaceAll(/\s+/g, ' '); // Normalize all whitespace (including newlines) to single space
|
||||||
.trim()
|
|
||||||
.replaceAll(/\s+/g, ' ') // Normalize all whitespace (including newlines) to single space
|
|
||||||
.replaceAll('"', '""'); // Escape quotes for CSV
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
description = """{{description}}"""
|
description = '{{description}}'
|
||||||
prompt = """
|
prompt = """
|
||||||
Execute the BMAD '{{name}}' workflow.
|
Execute the BMAD '{{name}}' workflow.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
description = """{{description}}"""
|
description = '{{description}}'
|
||||||
prompt = """
|
prompt = """
|
||||||
Execute the BMAD '{{name}}' workflow.
|
Execute the BMAD '{{name}}' workflow.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue