The obvious solution is to just copy paste it into Claude itself and ask it to fix. Works for almost any Claude problem