kaushalmodi / ox-hugo

A carefully crafted Org exporter back-end for Hugo
https://ox-hugo.scripter.co
GNU General Public License v3.0
885 stars 132 forks source link

Titles containing quotes have extraneous whitespace #695

Open dominikh opened 1 year ago

dominikh commented 1 year ago

Actual Behavior

A title that contains quotes generates a multi-line string in the TOML front matter with extraneous whitespace. For example:

title = """
  a "test" title
  """

According to the TOML documentation

Multi-line basic strings are surrounded by three quotation marks on each side and allow newlines. A newline immediately following the opening delimiter will be trimmed. All other whitespace and newline characters remain intact.

Which would mean that the title has two leading spaces, two trailing spaces, and one trailing newline. That is indeed what we get when rendering a page's .Title in a Hugo template.

I see that ox-hugo is explicitly setting tomelr-indent-multi-line-strings to t in https://github.com/kaushalmodi/ox-hugo/blob/706b5f622d168bb8e0cf503e0525d2db9177c83e/ox-hugo.el#L4295 – setting it to nil fixes this issue, but I don't know why you chose to set the variable. git blame points to c24ea792484598ffd2f8e786fadb823d48c8ec12.

Expected Behavior

No extraneous whitespace.

How to Reproduce the Issue

Run org-hugo-export-as-md on the example Org file

Example Org File

#+title: a "test" title

Generated Markdown File or Error

+++
title = """
  a "test" title
  """
author = ["Dominik Honnef"]
draft = false
+++

Ox-Hugo Debug Information

Debug Info # Debug information for `ox-hugo` ## Emacs Version GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) (commit 2ffe1494e16381cfc7fec95a6a0879f268df3e95) ## Org Version Org mode version 9.6 ( @ /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/) ## Hugo Version hugo v0.108.0+extended linux/amd64 BuildDate=unknown VendorInfo=nixpkgs ### Org `load-path` shadows **Warning**: Possible mixed installation of Org /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-forth hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-forth /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/oc hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/oc /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-dot hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-dot /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-src hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-src /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/oc-natbib hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/oc-natbib /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-makefile hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-makefile /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-lisp hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-lisp /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-protocol hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-protocol /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-keys hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-keys /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/oc-bibtex hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/oc-bibtex /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-colview hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-colview /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-ditaa hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-ditaa /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-scheme hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-scheme /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-rmail hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-rmail /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-eshell hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-eshell /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-docview hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-docview /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-publish hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-publish /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-C hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-C /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/oc-csl hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/oc-csl /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-fortran hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-fortran /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-table hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-table /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-haskell hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-haskell /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-persist hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-persist /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-irc hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-irc /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-element hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-element /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-python hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-python /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-pcomplete hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-pcomplete /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-inlinetask hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-inlinetask /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-doi hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-doi /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-footnote hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-footnote /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-clock hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-clock /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-gnus hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-gnus /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-info hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-info /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-fold hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-fold /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-indent hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-indent /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-org hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-org /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-sql hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-sql /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-R hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-R /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-exp hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-exp /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-w3m hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-w3m /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-core hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-core /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-matlab hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-matlab /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-ruby hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-ruby /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-ascii hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-ascii /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-latex hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-latex /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-loaddefs hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-loaddefs /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-mhe hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-mhe /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-md hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-md /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/oc-basic hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/oc-basic /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-sqlite hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-sqlite /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-mobile hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-mobile /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-lua hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-lua /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-awk hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-awk /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-lint hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-lint /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-octave hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-octave /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-sass hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-sass /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-sed hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-sed /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-macs hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-macs /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-screen hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-screen /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-js hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-js /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-icalendar hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-icalendar /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-macro hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-macro /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-goto hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-goto /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-attach-git hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-attach-git /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-list hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-list /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-eshell hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-eshell /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-html hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-html /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-bibtex hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-bibtex /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-attach hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-attach /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-agenda hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-agenda /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/oc-biblatex hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/oc-biblatex /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-entities hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-entities /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-datetree hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-datetree /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-ctags hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-ctags /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-java hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-java /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-habit hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-habit /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-groovy hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-groovy /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-bbdb hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-bbdb /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-man hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-man /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-cycle hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-cycle /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-koma-letter hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-koma-letter /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-org hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-org /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-gnuplot hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-gnuplot /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-emacs-lisp hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-emacs-lisp /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-ocaml hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-ocaml /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ol-eww hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ol-eww /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-ref hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-ref /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-tempo hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-tempo /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-lob hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-lob /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-capture hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-capture /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-version hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-version /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-table hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-table /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-julia hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-julia /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-crypt hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-crypt /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-shell hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-shell /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-latex hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-latex /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-calc hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-calc /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-plantuml hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-plantuml /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-maxima hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-maxima /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-lilypond hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-lilypond /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-css hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-css /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-plot hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-plot /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-faces hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-faces /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-comint hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-comint /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-beamer hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-beamer /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-fold-core hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-fold-core /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-num hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-num /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-archive hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-archive /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-tangle hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-tangle /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-feed hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-feed /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-processing hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-processing /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-timer hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-timer /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-odt hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-odt /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-id hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-id /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-refile hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-refile /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-mouse hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-mouse /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-duration hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-duration /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-texinfo hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-texinfo /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/org-compat hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/org-compat /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-eval hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-eval /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-perl hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-perl /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ox-man hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ox-man /nix/store/knqv4m7j43pawjmb9majq9m1ddcbhb7c-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6/ob-clojure hides /nix/store/j79q0ippkdqzgk9g8qr2hsx6s28600wz-emacs-git-20221226.0/share/emacs/30.0.50/lisp/org/ob-clojure Study the output of `M-x list-load-path-shadows`. ## `ox-hugo` defcustoms
org-hugo-section "posts"
org-hugo-use-code-for-kbd nil
org-hugo-preserve-filling t
org-hugo-delete-trailing-ws t
org-hugo-prefer-hyphen-in-tags t
org-hugo-allow-spaces-in-tags t
org-hugo-tag-processing-functions (org-hugo–tag-processing-fn-replace-with-spaces-maybe org-hugo–tag-processing-fn-replace-with-hyphens-maybe)
org-hugo-auto-set-lastmod nil
org-hugo-export-with-toc nil
org-hugo-export-with-section-numbers nil
org-hugo-front-matter-format "toml"
org-hugo-default-static-subdirectory-for-externals "ox-hugo"
org-hugo-external-file-extensions-allowed-for-copying ("jpg" "jpeg" "tiff" "png" "svg" "gif" "mp4" "pdf" "odt" "doc" "ppt" "xls" "docx" "pptx" "xlsx")
org-hugo-date-format "%Y-%m-%dT%T%z"
org-hugo-paired-shortcodes ""
org-hugo-suppress-lastmod-period 0.0
org-hugo-front-matter-format "toml"
kaushalmodi commented 1 year ago

but I don't know why you chose to set the variable.

This was mainly a cosmetic decision so that multi-line description metadata are nicely indented in the front matter.

This is also how I was formatting with code in ox-hugo before I replaced all of that with the tomelr library. So the idea of this variable was to not introduce extraneous diffs because of white spaces when I introduce that library.

Which would mean that the title has two leading spaces, two trailing spaces, and one trailing newline. That is indeed what we get when rendering a page's .Title in a Hugo template.

Thanks for reporting this. At the time of introducing this variable, the leading and trailing whitespace in that multi-line variable didn't matter to Hugo; or maybe that was the case because I was using markdownify or $.Page.RenderString to process the .Title, etc? Either that or Hugo's behavior regarding those whitespaces changed recently.

Can you please check if using .Title | $.Page.RenderString in the template as a workaround works for you?

kaushalmodi commented 1 year ago

I also had a test for quotes in title and it renders well: https://ox-hugo.scripter.co/test/posts/post-title-quotes/ (source: https://raw.githubusercontent.com/kaushalmodi/ox-hugo/main/test/site/content/posts/post-title-quotes.md).

That is using Hugo 0.101 and I am not not using using markdownify or $.Page.RenderString to process the .Title in that theme.

Action items for you please:

  1. Does this issue go away if you switch back to Hugo 0.101? ~What version are you on right now?~ OK, I see from your report that you are using 0.108.
  2. Does the $.Page.RenderString workaround work?
dominikh commented 1 year ago

.Title | $.Page.RenderString does strip the leading and trailing whitespace, yes. Of course it also has the unfortunate side-effect of interpreting markdown in the title, so that #+title: foo `bar` baz, which turns into title = "foo `bar` baz" in the front matter will render as foo <code>bar</code> baz once filtered through RenderString.

kaushalmodi commented 1 year ago

If you don't mind, can you also share your repo if possible? Or a trimmed down version that shows this issue?

I don't get how the leading and trailing spaces get rendered in HTML.. because I thought they are ignored in HTML unless you use &nbsp;.

dominikh commented 1 year ago

I am currently on hugo v0.108.0+extended. Switching to hugo v0.101.0+extended does not change anything.

I don't get how the leading and trailing spaces get rendered in HTML

I should have been more clear. This is not an issue of rendering, but of data. Displaying the title isn't the only thing the user will do. They will also run functions on it. For example, sorting a list of articles by title will sort leading whitespace to the top of the list.

That is, the issue is really that in https://ox-hugo.scripter.co/test/posts/post-title-quotes/ the page variables (under Page (Debug)) contain the whitespace.

kaushalmodi commented 1 year ago

That makes a lot of sense!

I never came across this issue because I always sorted posts by date and not title.

Looks like I'll need to then remove that cosmetic change, just from the titles for now as I don't want to introduce a massive diff in the tests.

kaushalmodi commented 1 year ago

Implementing this fix might take a week or slightly more. I need to do some maintenance work to bring the Github Action CI status back to a Green state before I make any further changes.

The CI broke after the Org version was bumped to 9.6 on Elpa.