summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2024-09-15 10:59:44 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2024-09-15 10:59:44 +0300
commit61ba9296b2f18851a37e8ed5a13c7be5e9a59ad6 (patch)
tree41ed8f28d45dc4b6f103fd3795271a195c4e14af /man
parent8ac97acb7ee2fca7d3ed06fbebd228fd96e7c60e (diff)
man: attempt to avoid \u escape in man building
This may help for #2756
Diffstat (limited to 'man')
-rw-r--r--man/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/meson.build b/man/meson.build
index 5251964..ac56f78 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -89,7 +89,8 @@ foreach src : man_orgs
' (setq org-export-with-sub-superscripts \'{})',
' (add-to-list \'org-export-filter-plain-text-functions',
' (lambda (text _backend _info)',
- ' (replace-regexp-in-string "\u200b" "" text)))',
+ ' (let ((zwsp (format "%c" (char-from-name "ZERO WIDTH SPACE"))))',
+ ' (replace-regexp-in-string zwsp "" text))))',
' (org-export-to-file \'man "@0@"))'])
expr = expr_tmpl.format(org.substring(0,-4))
sectiondir = join_paths(mandir, 'man' + section)