prototype(TYPO3.Neos.NodeTypes:Text) { text.@process.cleanup = ${node.context.workspace.name == 'live' ? String.pregReplace(value, '#<p>(\s| |</?\s?br\s?/?>)*</?p>#', '') : value} }