fixed id of figure belonging to img instead of figure
Created originally on Bitbucket by Russ (Russ W)
Was already merged in Bitbucket before import, marked as merged by the import user
Source changeset not longer availableat the time of import. Commit listwill look empty
Because of the doctree, the id attribute belongs to the img
tag instead of the figure
element. This patch fixes that to produce better structured html.