Tidied formatting and escaped placeholder attrs