emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: "Tarjei Bærland" <tarjei@purelymail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Attachment directory omitted from html export if line 1 is not section heading [9.3.7 (9.3.7-14-gb2b587-elpaplus @ /home/tarjei/.emacs.d/elpa/org-plus-contrib-20200720/)]
Date: Sun, 26 Jul 2020 21:15:17 -0400	[thread overview]
Message-ID: <87r1sxyd0a.fsf@kyleam.com> (raw)
In-Reply-To: <87imeahii3.fsf@purelymail.com>

tarjei writes:

> Adding a title to the page, results in non-expanded attachment links
> when exported.
>
> -- with_title.org ---------------
> #+TITLE: With title
>
> * Section :ATTACH:
> :PROPERTIES:
> :ID:       17b1efb9-e20c-4637-98c1-12e796e18d62
> :END:
>
> Attachment link to attachment [[attachment:attachment.txt][link]].
> _________________________________
>
> -- with_title.html --------------
> <body>
> <div id="content">
> <h1 class="title">With title</h1>
>
> <div id="outline-container-org4b9aea8" class="outline-2">
> <h2 id="org4b9aea8">Section&#xa0;&#xa0;&#xa0;<span class="tag"><span class="ATTACH">ATTACH</span></span></h2>
> <div class="outline-text-2" id="text-org4b9aea8">
> <p>
> Attachment link to attachment <a target="_blank" href="attachment.txt">link</a>.</p>
> </div>
> </div>
> </div>
> </body>

Thanks for the report and the minimal example.

Trying your with_title.org example on master, the link is expanded.  It
looks like it starts to be expanded with f93020d5e (Expand attachment
links with point in correct place, 2020-01-15), so the fix will be in
v9.4.


      reply	other threads:[~2020-07-27  1:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-26  6:56 Bug: Attachment directory omitted from html export if line 1 is not section heading [9.3.7 (9.3.7-14-gb2b587-elpaplus @ /home/tarjei/.emacs.d/elpa/org-plus-contrib-20200720/)] tarjei--- via General discussions about Org-mode.
2020-07-27  1:15 ` Kyle Meyer [this message]

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=87r1sxyd0a.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tarjei@purelymail.com \
    /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).