From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mMYuLACP8GZMSAEAqHPOHw:P1 (envelope-from ) for ; Sun, 22 Sep 2024 21:41:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mMYuLACP8GZMSAEAqHPOHw (envelope-from ) for ; Sun, 22 Sep 2024 23:41:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dod.no header.s=sb header.b=YgVwe37n; dmarc=none; 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=1727041280; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=A5QYBHClaUjICCEA4gBPr43jc8IYYiCROYgukqjPpqk=; b=MELntDkmClQIoVU3BvMPTNo1Et+hONcxex8Bc18mm7DNnexbQmTE0vLHMFj60VSsUVje/c GFEdCfClH7MYK62XTbfmvATVlNeBZ5ZFqxmK3V0QCY5g96v+APCcie4BOl7icON9e15/au QG5a4BgxLRbkSCSt99YAq4ZZSJEb0ejVSKDJkr5mLb9o+kZq+/n2tYnmXTHPZvhWMqfxTy dMPWCGIiofpQkp+H0pumPq9a+G3NUGhFCgs2EKrz12eMyh2jig5Cvlf9GDOAGm5a1a62IE LD8W/JOJBFLIkw5UN1Aiom2PdoZnfh5fqes2EmK8jgfmIkQlmz3alrPMAdJ5dQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727041280; a=rsa-sha256; cv=none; b=LZF3tDsQkwW3d7Rm6+MgMJ3I2DbI2PodPb46ifaSJkM1Ig9XBVxpsAaXOPL6zeLF0wYiJa 2X7C/dHyjbib7s83JOTzPWxl5/95J5UqiwXy99YHCPGQzMh40X77fAg3vzf/W8HSr2xE6l V5vNw/kUIVKy+8DwTZaiDWDWGuejPAbE+j1UDGZzvylzHTobB7CtOm7bWywpDdXPrIEU3t DgduJ8NFjfVH0e7gvn/cORc5WkjK/EMehaeewXyv2nv++Wnw9kCyXrnlFQVLUAwe1SnEZX hKjtFklG8NvQ0pxuQE47sUZcNWA02guVGdsPSJKrWKgKmWzPhivB/p5BalsZug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dod.no header.s=sb header.b=YgVwe37n; dmarc=none; 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" 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 9CC9D6C768 for ; Sun, 22 Sep 2024 23:41:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssUJg-0003UU-Ed; Sun, 22 Sep 2024 17:40:28 -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 1ssUJd-0003UA-CR for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 17:40:25 -0400 Received: from schwantz.bang.priv.no ([95.217.129.251]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssUJb-0006H0-6K for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 17:40:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dod.no; s=sb; t=1727041206; bh=rJLBIbbHEhRxRspQarzV5OLWC9Mg4rSakvDtRoYivow=; h=From:To:Subject:Date:From; b=YgVwe37nxX3f398zOPW2Ou/Tw2qvw/kfcwk1ylyS7V5bb3XXm5fXZ+JhKRIuJd8Gt dk8IigvZxTFybz/lDyDvePoaBN0iCOB3wZ4tEnsn1WoRSbRjzmXF45sOWpf3qPuptv ks9S5SrlkmSvuGPI7zqdBZxQgigp7sj1DYGV/iDE= Received: from marquez (unknown [84.210.69.52]) by schwantz.bang.priv.no (Postfix) with ESMTPSA id F3E15177 for ; Sun, 22 Sep 2024 21:40:05 +0000 (UTC) From: Steinar Bang To: emacs-orgmode@gnu.org Subject: org2blog 20230501.2319 from melpa gets strange formatting on diff of HTML file Date: Sun, 22 Sep 2024 23:40:04 +0200 Message-ID: <878qvj4bbf.fsf@dod.no> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=95.217.129.251; envelope-from=sb@dod.no; helo=schwantz.bang.priv.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.81 X-Spam-Score: -4.81 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 9CC9D6C768 X-TUID: v/bgqdv5M8FK Versions: debian 12.7 bookworm, amd64 GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-07-22, modified by Debian Org mode version 9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/) org2blog 20230501.2319 from melpa I have this code example: #+begin_src diff modified src/main/resources/index.html @@ -5,7 +5,7 @@
- + #+end_src In the wordpress blog, this renders as: https://www.bang.priv.no/screenshots/html-diff-with-source.png First thing I tried was to replace the first "<" on the diff lines, with "<": #+begin_src diff modified src/main/resources/index.html @@ -5,7 +5,7 @@
- <script src="bundle.js" type="application/javascript"> + < #+end_src But, while stuff didn't disappear in the same way as the first example, the result wasn't a complete success: https://www.bang.priv.no/screenshots/html-diff-with-amp.png The next thing I tried was to use an example, instead of a source with file type diff: #+begin_example modified src/main/resources/index.html @@ -5,7 +5,7 @@
- + #+end_example But that failed in yet a different manner: https://www.bang.priv.no/screenshots/html-diff-with-example.png Can anyone think of a workaround that would let me render the diff in a sensible way? org2blog hasn't seen any commits since June 27 2023: https://github.com/org2blog/org2blog/commits/master/ And org2blog doesn't seem to be on melpa anymore. Does anyone have any knowledge if the development has gone elsewhere? Thanks! - Steinar