trim-end the text from indented-data-reference (#32807)
This commit is contained in:
@@ -45,7 +45,7 @@ export default {
|
||||
}
|
||||
|
||||
// add spaces to each line
|
||||
const renderedReferenceWithIndent = text.replace(/^/gm, ' '.repeat(numSpaces))
|
||||
const renderedReferenceWithIndent = text.replace(/^/gm, ' '.repeat(numSpaces)).trimEnd()
|
||||
|
||||
return this.liquid.parseAndRender(renderedReferenceWithIndent, scope.environments)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user