From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CCXCFawUGGArFAAA0tVLHw (envelope-from ) for ; Mon, 01 Feb 2021 14:48:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gPuzEawUGGD3MAAA1q6Kng (envelope-from ) for ; Mon, 01 Feb 2021 14:48:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9DAE8940418 for ; Mon, 1 Feb 2021 14:48:11 +0000 (UTC) Received: from localhost ([::1]:35214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6aUs-0004GW-Jy for larch@yhetil.org; Mon, 01 Feb 2021 09:48:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6aTq-00048w-JK for emacs-orgmode@gnu.org; Mon, 01 Feb 2021 09:47:06 -0500 Received: from mout02.posteo.de ([185.67.36.66]:57927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6aTn-0004lK-Lo for emacs-orgmode@gnu.org; Mon, 01 Feb 2021 09:47:06 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 16D712400FF for ; Mon, 1 Feb 2021 15:47:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1612190821; bh=ltVG+M0W7lTRlDSTIQwCa0N0NQZXWOcS0fnRQCH0C9U=; h=From:To:Cc:Subject:Date:From; b=aYCt0ATlp7UrzLQ2/tLwrZhR2D1nR6E274ma4231jZLeCAZ+m9Rb5NZLV2yPuj94l CqNco0jPidA5nFjKk22dN4lTqxhuyx+ZHKze15XHM+HuzTaPCJUDVauab7kDWuNXV6 wnM6m6uHSglY60nSacJiCv8K/dSAjxNuG490OsjOZiiMuMgPAXf1ievwJouD7mmz7H D0u6r4Wa8BbUqjXqY/tFMLbinqL4eW1AiRxjUS/ouRxK4DJ4jJ4jBsswjN6bjLKO+w Zby6Wu6q2HOwLNSKP+NBQzq248c3YIMzD6likxV0Scd1BXdVObg+kX+zp4FUBK5/U3 Q0kLHwpX1KxxA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DTrPb749Tz6tmV; Mon, 1 Feb 2021 15:46:59 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Uwe Brauer Subject: Re: http links translated to html : target "_blank" References: <87tuqwb1ca.fsf@mat.ucm.es> <87wnvscan8.fsf@posteo.net> <87a6snc2ob.fsf@mat.ucm.es> Date: Mon, 01 Feb 2021 15:46:58 +0100 In-Reply-To: <87a6snc2ob.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon, 01 Feb 2021 14:56:04 +0100") Message-ID: <87h7mvdevx.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aYCt0ATl; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9DAE8940418 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: /zF6N9bvFKTu Hi Uwe, Uwe Brauer writes: > Thanks that works, but not for link in a list. The only solution > seems to be this one Doesn't it work for you in a list? I think it should work also in a list. If I export this: #+begin_src org ,#+BIND: org-export-filter-final-output-functions (correct-target-blank) ,#+begin_src emacs-lisp :exports results :results none (defun correct-target-blank (text backend info) (when (org-export-derived-backend-p backend 'html) (replace-regexp-in-string "%20target=%22_blank%22\"" "\" target=\"_blank\"" text))) ,#+end_src + [[https://www.amazon.es/Rocketbook-Everlast-Notebook-riutilizzabile-Esecutivo/dp/B071Y3MSRK/ref=sr_1_5?__mk_es_ES=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=Rocketbook&qid=1607847519&sr=8-5&th=1 target="_blank"][Book A4]] + [[https://www.amazon.es/Rocketbook-Everlast-Notebook-riutilizzabile-Esecutivo/dp/B071Y3MSRK/ref=sr_1_5?__mk_es_ES=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=Rocketbook&qid=1607847519&sr=8-5&th=1 target="_blank"][Book A4]] #+end_src I get this: #+begin_src html #+end_src Using `#+attr_html:' is a simpler and cleaner solution, of course, but I think that would not work with links within a paragraph. Best regards / saludos, Juan Manuel