Replace multiline with empty string not space Upstream-commit: f368fd9f9f3fcd9904f766f2fd00b875847cc676 Component: engine