Update formatBlock to strip & wrap elements when using <pre>

https://next.getflow.com/workspaces/1/tasks/5602794