Strip angle brackets and closing tags