emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mark Barton <mbarton98@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Clock report produces malformed table when contributed headings contain "|" in their title [9.7-pre (release_9.6.16-1060-g1aa455 @ /home/yantar92/.emacs.d/straight/build/org/)]
Date: Sun, 14 Jan 2024 12:18:59 -0800	[thread overview]
Message-ID: <14A27962-B105-4275-A204-5641487F8F6B@gmail.com> (raw)
In-Reply-To: <87mst8rpc7.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]



> On Jan 14, 2024, at 5:56 AM, Ihor Radchenko <yantar92@posteo.net> wrote:
> 
> The first heading is relatively easy to fix - we may replace "|" in
> title with \vert entity.
> 
> Not so easy for src block and other verbatim text - there is simply no
> way to escape "|" in tables.

I have encountered this a couple times, usually in org captured items for Meetings that someone else typed for the Meeting name. I could not figure out how to escape them and just ended up modifying the header to not include the pipe char.

In your example of the src block, I don't normally make those headers, but could the pipe char be replaced only in the clock table? If clock table links are turned on then the header link should point to the header and just the description changes. 

Mark Barton

[-- Attachment #2: Type: text/html, Size: 3973 bytes --]

  reply	other threads:[~2024-01-14 20:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-14 13:56 [BUG] Clock report produces malformed table when contributed headings contain "|" in their title [9.7-pre (release_9.6.16-1060-g1aa455 @ /home/yantar92/.emacs.d/straight/build/org/)] Ihor Radchenko
2024-01-14 20:18 ` Mark Barton [this message]
2024-01-15 13:04   ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14A27962-B105-4275-A204-5641487F8F6B@gmail.com \
    --to=mbarton98@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).