When exporting to HTML, the exporter is supposed to check if there
are additional constraints over a paragraph using
`org-html-standalone-image-predicate'. A misplaced quote causes
`org-html-standalone-image-p' to not apply them.
To number captions on images the `org-html-paragraph' binds
`org-html-standalone-image-predicate' to
`org-html--has-caption-p', but since it gets ignored,
`org-export-get-ordinal' considers all standalone images, not just
captioned ones. This throws off the numbering.