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 ms0.migadu.com with LMTPS id mExDHoYM0WByggAAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 00:02:46 +0200 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 uMIBGoYM0WD+VwAA1q6Kng (envelope-from ) for ; Mon, 21 Jun 2021 22:02:46 +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 DABC0124CA for ; Tue, 22 Jun 2021 00:02:45 +0200 (CEST) Received: from localhost ([::1]:55428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvS0B-0003CI-Du for larch@yhetil.org; Mon, 21 Jun 2021 18:02:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvRzK-0003CA-Bb for emacs-orgmode@gnu.org; Mon, 21 Jun 2021 18:01:50 -0400 Received: from mail-ua1-x931.google.com ([2607:f8b0:4864:20::931]:37849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvRzI-0008Ba-GU for emacs-orgmode@gnu.org; Mon, 21 Jun 2021 18:01:50 -0400 Received: by mail-ua1-x931.google.com with SMTP id f34so6893929uae.4 for ; Mon, 21 Jun 2021 15:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xrj8K//x81EWMdaO6zG0uGnyohWyspDV4O3e5X/hJGA=; b=aG4TA6GlLdyDy3UE65fBeLkx9bsjWnbkTJDaJZWuSuQioUjVZs4j3XxO2iyN0SPxtw MDwJiXc8YKr6gYYW1PXzurSp8jRdvkr+mPbvhKEq4p5KYfCdO4lzj87RQX8oKbJGOtJa hN+4Q4XUCDH9BZ/GLPjqil16Etp8FZ7VxZF8vA5rsfHxR/r/ExsU8Y1eBH3bEGNuB68w vOAv6NK4Tv3DM4QRewZjoSL0zWjDtN9HvtFBTgbKIxsLggwuO2jHPal3Tk8EoV1LMSKI A+57kbs0Qw/nDxY8sKNjhsVaFThAgawto80oRei9Av/FJrTUXS0J2h2N6qMrVLnN2yLB nbFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xrj8K//x81EWMdaO6zG0uGnyohWyspDV4O3e5X/hJGA=; b=fyXccRCi1F3gF/ORWVRYWmFLZLkw5Nt88CfyIBl197S7oJrSIKjxHbaR+ZF5Xd8j6u M47LeLqyXVPwPdCjxkQ1BPSfZShPeurXoJdM3wDV+FP87fh2lwVKoJVKLr57h6clFH6v FUsPHBSNM0iZ+VN0Gu7T3UrWmsHfJms/JjhxejTRltRpnboRh6UgnzhScwI3R41wDcch fjidxDpdyvKRyap+OI2MQxONF5zsvw7Aco5ejD96/dZHQ8qTyOgfRfmlZ5Da1TrMePIK /bmGz1mZ7nYhgvjtcYIjQgmnJaZiensBxQW1tsC/ZRaaTrRNEvmJCJZzEmrMunvUi2Jp bmiA== X-Gm-Message-State: AOAM531alQ0HPSJTP6DFQc7dGTnTHao8NBcud05S0g3U3kBFTK8IsAfd /SqRaRE4UKFQxPJ787EXMVghRXqQ8RSibd19+Ggil4xaHbU= X-Google-Smtp-Source: ABdhPJzF5MRv5CLIKFGfqyEVZKO5LpaY6GUBLJRkNnwgggf+gD6eyGt9hEXdRhE1cWrU8Q3uIEKtaQPVmm3qlocXoY8= X-Received: by 2002:ab0:60d9:: with SMTP id g25mr935969uam.102.1624312904870; Mon, 21 Jun 2021 15:01:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Matt Price Date: Mon, 21 Jun 2021 18:01:33 -0400 Message-ID: Subject: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag To: Org Mode Content-Type: multipart/alternative; boundary="000000000000b2f11405c54dd108" Received-SPF: pass client-ip=2607:f8b0:4864:20::931; envelope-from=moptop99@gmail.com; helo=mail-ua1-x931.google.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624312966; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xrj8K//x81EWMdaO6zG0uGnyohWyspDV4O3e5X/hJGA=; b=KR4JZUrXzh2QWCzLvXR88/TtsNYQ2ce61Vbu4wZtLYyJR4KJnmf7EVk6YC1mMw9DcBhAp7 aFPegPLlI0v7Jqn/0TG64I4UMTv/G8q6adQpcEYX3SQnvq+OZPq6iY6paaplupURk9rmEV c2tkdZFufgTbBSw5YSWkIbfub6EpZkkfLXlsZ6qYX3yZdIrcvIBMPELLCVJ6zpvSc1bBoo xxd3IHykb3oXRJNuSFE5UD24VvPWGMjPLT+poeQ2pHvpADQKt5S8nzXVPP8FpMSkDiv8Bd F8PPE667me5OyKumHJe5cp552wY/yxJ23EeU0PcujNMDQ1RG9id2BHVSC1Fb+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624312966; a=rsa-sha256; cv=none; b=RK6VlNZXvVlQjDbO1F6FIPrtM2w2DJ2dqGJAkWJqD58ow6nzF8nPd2ACkm7GAiY8jPwJ6p x6ulDnxl7xZ9lN+MVknCOl0U07dGfKCyiiX5SNXv2FcsCklGBVXpQlEh+WvA6NSnSr64yL irVMTpTCC953iw0iQfgqgd8GrJZ+BwzX4qEICzV6jh1U0uYaIv733e3zA5hm17e4Gz47NN BlKopyXJzdVay4vWnWnfrxB3WoLt2NiFAAe6TanBI1vv3xv3O5gcpgSLM7ghxYJdVo7Pel LF+7HOh+5i7YbhRfdt5a/kA0avfScsGbxK2QuWTC4kILkgBFfDnlU9NeLtc2zA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=aG4TA6Gl; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=aG4TA6Gl; dmarc=pass (policy=none) header.from=gmail.com; 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: DABC0124CA X-Spam-Score: -1.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: cWNMczCLgZwk --000000000000b2f11405c54dd108 Content-Type: text/plain; charset="UTF-8" On Mon, Jun 21, 2021 at 3:07 PM Matt Price wrote: > I'm using the most recent wip-cite-new branch of org, with a recent emacs > git (28.0.50). > > I would like to be able to surround some portion of a subtree with a tag, > e.g.: > > * parent > some text > #+HTML:
> ** child 2 > some boxed content > ** child 2 > more boxed content > #+HTML:
> ** child 3 > unboxed content > > However, org seems to close the div for me before the ~** child 2~ > headline. > > Is this the intended behaviour? And if so is there any way for me to do > this? > Sorry for the noise, I believe this is user error. I misread the exported source code, and firefox's developer tools added the closing tag for me, so I kept not seeing my mistake. The error here was not realizing that section contents get wrapped in their own div with class ~outline-text-N~, so my ~
~ resulted in malformed HTML. I don't know if there is a way to somehow slide my own html in between the outine-text element and the outline-container element for a child subtree. If someone knows a way to do this, I'd appreciate a pointer, but for now I think I have to find another way to accomplish this. thanks & apologies, Matt --000000000000b2f11405c54dd108 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Jun 21, 2021 at 3:07 PM Matt = Price <moptop99@gmail.com> = wrote:
I'm using the most recent wip-cite-new branch of org, wit= h a recent emacs git (28.0.50).

I would like to be= able to surround some portion of a subtree with a tag, e.g.:
* parent
=C2=A0 some text
#+HTML: <div class=3D"b= ox">
** child 2
=C2=A0 some boxed content
** child 2
= =C2=A0 =C2=A0more boxed content
=C2=A0#+HTML:</div>
** c= hild 3
=C2=A0 unboxed content

However, o= rg seems to close the div for me before the ~** child 2~ headline.

Is this the intended behaviour? And if so is there an= y way for me to do this?

S= orry for the noise, I believe this is user error. =C2=A0 I misread the expo= rted source code, and firefox's developer tools added the closing tag f= or me, so I kept not seeing my mistake. The error here was not realizing th= at section contents get wrapped in their own div with class ~outline-text-N= ~, so my ~<div class=3D"box">~ resulted in malformed HTML. =

I don't know if there is a way to somehow= slide my own html in between the outine-text element and the outline-conta= iner element for a child subtree.=C2=A0 If someone knows a way to do this, = I'd appreciate a pointer, but for now I think I have to find another wa= y to accomplish this.=C2=A0

thanks & apol= ogies,

Matt
--000000000000b2f11405c54dd108--