From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MNycM33/bWRpuwAASxT56A (envelope-from ) for ; Wed, 24 May 2023 14:13:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2Pd+M33/bWR5tgAA9RJhRA (envelope-from ) for ; Wed, 24 May 2023 14:13:49 +0200 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 35B35920B for ; Wed, 24 May 2023 14:13:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1nME-0000j0-Du; Wed, 24 May 2023 08:12:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1nMB-0000ij-3Y for emacs-orgmode@gnu.org; Wed, 24 May 2023 08:12:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1nM8-0006IO-6Q for emacs-orgmode@gnu.org; Wed, 24 May 2023 08:12:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 74CFD240027 for ; Wed, 24 May 2023 14:12:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684930357; bh=sAq1WOI+cNMXdUbqHa82Oco3kzI+vC7Koooa1Drxs84=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=gC6rl9LlImuXtJ4d4dm5soa7DPUAyHsjkGBFxJ0XG4a8oz23YvxuxANlCNENhDPa5 TRDGki6BQ8eGi2/P+/cL+1krOqpPTR7fZrrmaQZ21ToRwyLEGmma46cpX5DgaZZuc4 aBAnOQ84p5mb4Xlsk5QqoKxg5ZP763VnNPX8MTE3XFV8R6cB5+sZIegkS3/zASrooa xZ5Ny4RHkD1WaUi/kgikii4SoIQ7l9ThGAe9Rg2sdoa+S6fv/9wuRz5dO+u0T4H6H1 3q5zGsUjYyYwIJO7PGcTcY62DyDpXZ0JJYg/mR4F5h0oASDWTI9OY9O1Z8fkXiGGzv PKEuXK22og2rA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QR96s078Lz9rxL; Wed, 24 May 2023 14:12:36 +0200 (CEST) From: Ihor Radchenko To: Emmanuel Charpentier Cc: "emacs-orgmode@gnu.org" Subject: Re: How to convert an HTML export bloc to a normal Org Babel output ? In-Reply-To: References: Date: Wed, 24 May 2023 12:16:39 +0000 Message-ID: <87a5xtorfc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684930429; a=rsa-sha256; cv=none; b=lGumZmYssOnIducvJxdx/1cCWYxdsH5RhiAInIWfi1a3sn/y7IT4Eb/fow9hJwnDm1CLpm u0CgavfeA5CUbbLiL15usnpAQ6Wr4bFh3fb05Fpa20WZhCQdW0TdvNxUfHWjH+IwE35seL JkBe8xGj3OBhX7U3dgH3gK9SU76VK54LhLTeIxC7iKQA/iVeij1759i8ImGC3//G5tFCVz qom/NEEFx6RUYx5ZFW7WZOIHJYixfO7G4faB9vzzsgdyoDSM85SUHphtyH9TV5+5FDGRaE Yv1hvVQUwdNTd0BJZgs44Q2oMBiOuBFcNbjyWaTtYILdsoFTU+YIKQtqifKYsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gC6rl9Ll; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684930429; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xngDbNOpzxoRS5yPyrcURHGOI5NGoPa+tIzRlBuWre8=; b=UmFrO13Qp5tq1t2VOlJCbSRbyFKMfdVTsLzBbSkEmy1YrlJtp+7RDHbaoB2+d3EDU5Mu/m XG9lrPPRn2/g9lbHhZSlmyig7ihlVf/INrtMwgzpysskikGo15EJeOYvyGWAgxxpNnBDNh gfXtbTdkuap9VyNUo4LKptqGzBXnH0aA27zFTTWgr5NkteltD1tGb0IG3KykbCajBqqiTX 2b4oT53RvcSz4XYj8wTkNVeZCM8+YJPzDvTfZfeIHuTe8xEkC0aiLwDqNfL8nEICZxk4gJ pLugvGSGnyf+INPUAVNoW9wi0m+SOzbtM3niZ+NGOb3PMM8Og8g6ZJlj0GR9zw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gC6rl9Ll; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.13 X-Spam-Score: -5.13 X-Migadu-Queue-Id: 35B35920B X-TUID: riMsZfBWLSCM Emmanuel Charpentier writes: > #+begin_src jupyter-apl :exports both :results raw :post html2text(data= =3D*this*) > =E2=8D=B37 > #+end_src > > #+RESULTS: > #+begin_export html=20 > > 1 2 3 4 5 6 7 > #+end_export=20 > > but what /enrages/ me is that the (correct) result is still wrapped in an= HTML block ; again, I have been > unable to obtain a "normal" output. Check if jupyter-apl has default :wrap header arg. If not, it directly adds #+begin/end_export lines and the best you can do is (1) report it as a bug; (2) manually filter out begin/end_export in your :post function. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at