Hello folks!

I've noticed that headings that contain `|` somewhere in its text break 
clockreport in
agenda. Like this heading:

* A | B

This causes clockreport table in agenda to become misaligned, as
org-table treats every `|` as a column separator.

First I thought it would be easy to replace '|' with '\vert', but it
wouldn't work - clockreport table also has links back to heading,
with a search string. I.e., for heading above the raw line in clockreport
table looks like (with 2 unwanted extra table columns):

| | \_  [[file:/home/binarin/test.org::*A | B][A | B]] | | 0:14 |

And replacing `|` in the link to the heading is not possible, as it'll
break the search link.

Currently I've just started cleaning up `|` in capture hooks, as this
`|` mostly comes from captured website titles.

Maybe there is a more general solution in org-mode itself - but I
have no idea how to approach it.



Emacs  : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.51, 
cairo version 1.18.4)
Package: Org mode version 9.8 (9.8-8280cf0 @ 
/nix/store/91awkf0vk88p60bzbgqadzpnrdrf6ra3-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.8/)

Best,
Alexey

Reply via email to