+ remove from mdxString new lines and carriages as Kibana can't deal
with them