Allow new lines in html escaped output
This commit is contained in:
parent
d9749da99f
commit
c00c2a4af3
@ -49,7 +49,7 @@ export class TemplateEngine {
|
||||
}
|
||||
|
||||
_renderInline(value) {
|
||||
return `printf '%s' "${value}" | jq -Rrj @html;\n`;
|
||||
return `printf '%s' "${value}" | jq -Rr @html;\n`;
|
||||
}
|
||||
|
||||
_renderInlineUnescaped(value) {
|
||||
@ -57,7 +57,7 @@ export class TemplateEngine {
|
||||
}
|
||||
|
||||
_renderInlineStatement(value) {
|
||||
return `printf '%s' "$(${value})" | jq -Rrj @html;\n`;
|
||||
return `printf '%s' "$(${value})" | jq -Rr @html;\n`;
|
||||
}
|
||||
|
||||
_renderInlineStatementUnescaped(value) {
|
||||
|
Loading…
Reference in New Issue
Block a user