`image` directive with HTML writer always output an anchor if an option is set
Khang Minh <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <CAHg1g7gPyS6nXfCsyTOrr-8F7xOL_m1WecfduGfWrhDeHAxSOw@mail.gmail.com> |
I'm trying out the `image` directive, http://docutils.sourceforge.net/docs/ref/rst/directives.html#image When using it without any options, only the URI argument, the rendered HTML does not have any anchor. However, if I specify any option (not `target`) there will be an anchor around the generated `img` tag. Is this expected? If so, it should be noted in the documentation IMO. Curious if there's any way to disable this behaviour. ------------------------------------------------------------------------------