| quartz/plugins/transformers/ofm.ts | ●●●●● patch | view | raw | blame | history |
quartz/plugins/transformers/ofm.ts
@@ -188,7 +188,8 @@ const [raw]: (string | undefined)[] = capture let escaped = raw ?? "" escaped = escaped.replace("#", "\\#") escaped = escaped.replace("|", "\\|") // escape pipe characters if they are not already escaped escaped = escaped.replace(/((^|[^\\])(\\\\)*)\|/g, "$1\\|") return escaped })