WMD: when renumbering link definitions, correctly handle nested references (i.e. linked images)
WMD: when renumbering link definitions, correctly handle nested references (i.e. linked images)

mrrohitkaushal/wmd-new,mrrohitkaushal/wmd-new,mrrohitkaushal/wmd-new