fixes per XDG spec, format links in <code> blocks