From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Fiano Subject: Bug when both a link and tags are in a headline Date: Thu, 29 Sep 2016 17:18:41 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ebbf29f51a4053dac05b4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpij6-0001i0-5i for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 17:18:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpij4-00057P-8N for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 17:18:43 -0400 Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]:33065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpij4-00057G-3O for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 17:18:42 -0400 Received: by mail-it0-x233.google.com with SMTP id x192so1932721itb.0 for ; Thu, 29 Sep 2016 14:18:42 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a113ebbf29f51a4053dac05b4 Content-Type: text/plain; charset=UTF-8 Steps to reproduce: 1. Start stock emacs 25.1: $ emacs -Q test.org 2. Write a headline * Test 3. Issue C-c C-c and the headline to add a tag * Test :test: 4. Modify the headline to include a link. * Test [[http://test][test]] :test: 5. Everything appears to be rendered correctly, but when viewing the source, it really looks like: [[http://test][te]]st 6. To make it render wrong and become very obvious, change the link description to have multiple words. --001a113ebbf29f51a4053dac05b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Steps to reproduce:
<= div style=3D"font-size:12.8px">=C2=A0
= 1. Start stock emacs 25.1:
$ emacs -Q= =C2=A0test.org
=C2=A0
2. = Write a headline
* Test
=C2=A0
3. Issue= C-c C-c and the headline to add a tag
* Test =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :test:
=C2=A0
4. Modify the headl= ine to include a link.
* Test [[http://test][test]] =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0:test:
=C2=A0
5. Everything appears to be rendered corre= ctly, but when viewing the source, it really looks like:
[[http://test= ][te]]st

6. To make it render wron= g and become very obvious, change the link description to have multiple wor= ds.
--001a113ebbf29f51a4053dac05b4-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug when both a link and tags are in a headline Date: Fri, 30 Sep 2016 00:59:29 +0200 Message-ID: <877f9uxqge.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpkIe-0005m7-JX for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 18:59:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpkId-0004fl-NZ for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 18:59:32 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:41084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpkId-0004fQ-Hg for emacs-orgmode@gnu.org; Thu, 29 Sep 2016 18:59:31 -0400 In-Reply-To: (Michael Fiano's message of "Thu, 29 Sep 2016 17:18:41 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Michael Fiano Cc: emacs-orgmode@gnu.org Hello, Michael Fiano writes: > Steps to reproduce: > > 1. Start stock emacs 25.1: > $ emacs -Q test.org > > 2. Write a headline > * Test > > 3. Issue C-c C-c and the headline to add a tag > * Test :test: > > 4. Modify the headline to include a link. > * Test [[http://test][test]] :test: > > 5. Everything appears to be rendered correctly, but when viewing the > source, it really looks like: > [[http://test][te]]st > > 6. To make it render wrong and become very obvious, change the link > description to have multiple words. Fixed. Thank you. Regards, -- Nicolas Goaziou