emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Damien Cassou <damien@cassou.me>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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	[thread overview]
Message-ID: <87efwrmdg8.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <8760j0uxxf.fsf@cassou.me> (Damien Cassou's message of "Thu, 23 Mar 2017 10:47:40 +0100")

Hello,

Damien Cassou <damien@cassou.me> 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

  reply	other threads:[~2017-04-17 12:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23  9:47 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/)] Damien Cassou
2017-04-17 12:21 ` Nicolas Goaziou [this message]
2017-04-18 12:45   ` Damien Cassou
2017-04-18 12:53     ` Damien Cassou
2017-04-18 12:55     ` Nicolas Goaziou
2017-05-02 14:48       ` Damien Cassou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efwrmdg8.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=damien@cassou.me \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).