Better Conversion

Hi @shiffman 

Can you take a look at this PR and see if that better preserves the pde paths? I added them as `data-pde`, so they are allowed in HTML5.