Skip to content

Commit

Permalink
man: attempt to avoid \u escape in man building
Browse files Browse the repository at this point in the history
This may help for #2756
  • Loading branch information
djcb committed Sep 15, 2024
1 parent 8ac97ac commit 61ba929
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 61ba929

Please sign in to comment.