@miketromba/issy-core 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/lib/issues.ts +1 -0
package/package.json
CHANGED
package/src/lib/issues.ts
CHANGED
|
@@ -199,6 +199,7 @@ export function parseFrontmatter(content: string): {
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
function yamlQuote(value: string): string {
|
|
202
|
+
// biome-ignore lint/complexity/noUselessEscapeInRegex: \[ is needed inside the character class for correct matching
|
|
202
203
|
if (/[:#\[\]{}&*!|>'"%@`,\n]/.test(value) || value !== value.trim()) {
|
|
203
204
|
const escaped = value.replace(/\\/g, '\\\\').replace(/"/g, '\\"')
|
|
204
205
|
return `"${escaped}"`
|