Detect discount before converting markdown to html