From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31524 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gwern Branwen Newsgroups: gmane.text.pandoc Subject: =?UTF-8?Q?Re=3A_pandoc_2=2E19_=22flattens=22_text_in_table_of_contents?= =?UTF-8?Q?=2C_no_more_=3Cspan=3E_=E2=80=94_workaround=3F?= Date: Tue, 11 Oct 2022 15:38:13 -0400 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35688"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDFJXQMSYMIRBS4MS6NAMGQEYEASH6I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 11 21:38:55 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f184.google.com ([209.85.222.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oiL5b-00094B-31 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 11 Oct 2022 21:38:55 +0200 Original-Received: by mail-qk1-f184.google.com with SMTP id bj40-20020a05620a192800b006e20308f39csf12530871qkb.10 for ; Tue, 11 Oct 2022 12:38:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665517134; cv=pass; d=google.com; s=arc-20160816; b=R9HA71alDkdngJ9CHhpSNk6FxGLC+eVKt1kobvS2HyHzeDFuFl1zRlg9ULJZx0Fe9G blzmqR59JTHrLSbmCyhZoiwWP5hv4g9UVQfh9HSqklzgX5oSZQELGd0urxeTkqKQ1ha/ AOpCJA1t1ktNeOcfDhScDgHvQYFhQsAPS1T+z7NMMFESiwr2pRNy4gaOm+fujXpl9CUG xLfyeGWREGen3BcoGmDKpdEnFXnlVxLdTgCkSIaQKQXpYrPN+eB16PO68G1vgdp/Z9vT auvwbDzBHaP/Z8I4C8XBIhuWN2XA+J6zTAut5RUWEyEWknanMZTUIN1ZbXfhbbJcrBR0 7A2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :to:subject:message-id:date:from:in-reply-to:references:mime-version :sender:dkim-signature; bh=fR1JC6lWNBXsKtMqIOSftKNYeW2+zHX9NVFQCwcPAoc=; b=KlhUvkdf1YGzeMzzhuuptZYJnlmwq9yAeXfSIcU1qAUMiPwsmN5zOCe0aCTbY7+Jbr qrZzI843v7xHgiq4XsNj0ezPBpBxo8XDjgYLpWZlCkd+yzliAyD7ikBYNuPVPr5akVpg 6w/QJMje2a47ZdyCJkoLcKeq8jBqqpMw7FV9OubOFDPNUMH377kC+/73Ii7STLXICMif UtVzfVFeR8YBWeAx8Iyo6UvtwKf0CrsCQW/0ak6tfiNILiQnKREKk5dZYowOO+0178hG z+WFQHjgA1VEoDDHLY7PqeKAYpFhvRyUmBoZPB2ja58keCEsegDL8SkRY4NfP7upOt0q m7+Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of gwern0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.214.180 as permitted sender) smtp.mailfrom=gwern0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:from:to:cc:subject:date :message-id:reply-to; bh=fR1JC6lWNBXsKtMqIOSftKNYeW2+zHX9NVFQCwcPAoc=; b=dfgelze0lN1gAHXSdDgqfMwEAXLRU9zOhsvk/F+Zr7ttm34MDnUyuI+VwjGcCZ7HZ9 zL/tCTNCFkxxkfSRpviRGKOTA6Yn9MuQkWriyiwjjsbgZruAvHNrv0vjlZcxEeTn/zAq WxJb3HOIcTFk14lyRiNVPpY5O7uKVWW0mG7a/NRSwC7HAmWz1IZfKIormvrMb8kXTK28 7bgopUdUOrnnRpYxOsk5Ndb1qxel1rVmu30zPQ0DdajMVPXSfnrHzguwfqNZOBGCBMEj iLhaCZ/aQvRNXywUfShfXnAf7yTJeMM8LdkrCY4xhEv4E1iXHE1xTQkhXImVsNRES X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=fR1JC6lWNBXsKtMqIOSftKNYeW2+zHX9NVFQCwcPAoc=; b=yJMTz6GKOJtcalFl5R7j/ZjLQY2dOBT+jxHYIAuzaX5T6Cjh2Xilr2h1sN0rTaxRP/ 6rLa8er28kaRa5RU+Z4tM8ppOvPrTgv9V4h+FLur+g4ZtS45Cx93ANE5WjxKuI6K847w f43/OVqFsVEBA5CNFzgdxadkOqtVyd+Ldy6U1E6XQQVMGdRt1wFbYDR1fafUdjOFuA1V hgrYg6IWxxPg3nez3JSff/NrKXZ/mRHcFET+5jEQuzlq/INH7nDThQfp1W6bLVsxz4Mz V9P/ub8W5T8Mbe1gqkKw Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf24Pp65Lrja7/NZxVXObU/ZDo6RW5chO01dYvmnPHp06HT6G6Vl MEgxu5JNiG34su+Aczc8TxE= X-Google-Smtp-Source: AMsMyM5ZzXYsqY/X9qJG6WV7d4l70kop1Y/Y4vdwkWt1OLbNhpKgdAeDB72SZb/ZeRYL7H1TRXBdpQ== X-Received: by 2002:ac8:5bd1:0:b0:397:f74e:fb84 with SMTP id b17-20020ac85bd1000000b00397f74efb84mr14955111qtb.83.1665517134096; Tue, 11 Oct 2022 12:38:54 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:622a:4c0f:b0:39a:f4ce:1389 with SMTP id ey15-20020a05622a4c0f00b0039af4ce1389ls3550499qtb.5.-pod-prod-gmail; Tue, 11 Oct 2022 12:38:51 -0700 (PDT) X-Received: by 2002:a05:622a:190c:b0:397:3a4:aa16 with SMTP id w12-20020a05622a190c00b0039703a4aa16mr17215418qtc.32.1665517131478; Tue, 11 Oct 2022 12:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665517131; cv=none; d=google.com; s=arc-20160816; b=oLIawaRpBFNb5pTHG5QcdKZPqh3tSKp9luuub3tuQUSyC+qdCuk8Ca9NlicDM8S9ib xGWMRlf2rUMM5vF62BCeWb0/N4Y0vKfCB2Zzyn6hz5JcDUsa9gCnCGBPIny3ky6kw7my EEOn5wJvzVhHRCxC4ueqjZG+rtGCH7mR6o8fBIa8+GdiAh8FiyOl2VrKasE/j/7k/OtF qB9+2CSpgDB6LCsauhjB2HadukwCp8rs/2A0GP+ZEr5aW7bm9fWFtb0GYbRKDyrGRn94 eJQcnZXnSRB+AhyN2K6iXKTDLidwpR5PZkMZPrqDRK38rSquqzpy8IUFzDqhUX4LKR7L GYhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=vwrOTekeB/pO7iQUFN74jk9g6YgJZYvGQ7LQA+/uoow=; b=lRFgWX7yg2wo6iH96pD+FGniwc+dKgG8zKF5H+lX/ITGwO/rDb7unf1i2uFORh2HVs gB+bceSv2YqnkVxbXBgnxFmTNg/1PcdBgZXQ4k/T4+PqPlfnBWye+gkxMZzwXQwToq4n YKhlNSkFaNfniHFDSUQgt3kLglR1BTUY82TaXaRxgeDmJF1hc9D71+8zDtdwDzEuK5rK nJN3UUMlZPZ2UTdUujjOkxUC5Levw30AwneWUzpq/TyKBcURnh78Jvp0ZSx1K21+ynLz 0wdScIxwHcIwTONS1L1PvU7q145/Jbq0LglDzkZWThvPDc7rn/MAldPjho7DB8v2trt+ Wxuw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of gwern0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.214.180 as permitted sender) smtp.mailfrom=gwern0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com. [209.85.214.180]) by gmr-mx.google.com with ESMTPS id w1-20020a05620a148100b006cef2726141si413740qkj.6.2022.10.11.12.38.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Oct 2022 12:38:51 -0700 (PDT) Received-SPF: pass (google.com: domain of gwern0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.214.180 as permitted sender) client-ip=209.85.214.180; Original-Received: by mail-pl1-f180.google.com with SMTP id l4so14179296plb.8 for ; Tue, 11 Oct 2022 12:38:51 -0700 (PDT) X-Received: by 2002:a17:902:e790:b0:183:88dd:1d30 with SMTP id cp16-20020a170902e79000b0018388dd1d30mr5860748plb.62.1665517130384; Tue, 11 Oct 2022 12:38:50 -0700 (PDT) In-Reply-To: X-Original-Sender: gwern0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gwern0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.214.180 as permitted sender) smtp.mailfrom=gwern0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31524 Archived-At: Spans were removed by https://github.com/jgm/pandoc/issues/8020 Adding the triangle to the header text is working as it should. (It's a strange use of s which was not documented nor was it intended, and you shouldn't've been relying on it.) There would seem to be many more natural and less error-prone ways to decorate headers with a "=E2=96= =B4". Most obviously, why don't you use a CSS ::after pseudo-element, when this sort of link annotation is their most common use and avoids apparent problems with your original approach? (For example, if you are injecting the triangle as a text literal, isn't it going to pollute copy-paste?) Or if that doesn't work for something, why not just wrap the triangle in a real span with a meaningful class, and then just hide it in the ToC like '#toc span.return-marker { display: none; }', something like that? -- gwern --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAMwO0gzcxrMGX0%3DF2Dw_CZvAi1w0RjQYP8%2BwAsx-cemU65NgDw%40ma= il.gmail.com.