[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: Attachment directory omitted from html export if line 1 is not
From: |
Kyle Meyer |
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 |
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   <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.