[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Image export with link does not support query delimiter [8.
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Image export with link does not support query delimiter [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/25.2/lisp/org/)] |
Date: |
Mon, 17 Apr 2017 14:21:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Damien Cassou <address@hidden> writes:
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen. You don't know how to make a good report? See
>
> http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> Given this org file
>
> [[http://foo.com][https://foo.com/badge.svg]]
>
> [[http://foo.com][https://foo.com/badge.svg?branch=master]]
>
>
> I get this when exporting to HTML:
>
> <div class="figure">
> <p>
> <a href="http://foo.com">
> <img src="https://foo.com/badge.svg" alt="badge.svg" />
> </a>
> </p>
> </div>
>
> <p>
> <a href="http://foo.com">
> <a
> href="https://foo.com/badge.svg?branch=master">https://foo.com/badge.svg?branch=master</a>
> </a>
> </p>
>
>
> I was expecting both outputs to be figures with an image. It seems that
> the query "?branch=master" at the end of the URL prevents the output of
> a picture.
Couldn't you extend `org-html-inline-image-rules'?
Regards,
--
Nicolas Goaziou
- Re: [O] Bug: Image export with link does not support query delimiter [8.2.10 (release_8.2.10 @ /usr/local/share/emacs/25.2/lisp/org/)],
Nicolas Goaziou <=