man: attempt to avoid \u escape in man building
This may help for #2756
This commit is contained in:
@ -89,7 +89,8 @@ foreach src : man_orgs
|
|||||||
' (setq org-export-with-sub-superscripts \'{})',
|
' (setq org-export-with-sub-superscripts \'{})',
|
||||||
' (add-to-list \'org-export-filter-plain-text-functions',
|
' (add-to-list \'org-export-filter-plain-text-functions',
|
||||||
' (lambda (text _backend _info)',
|
' (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@"))'])
|
' (org-export-to-file \'man "@0@"))'])
|
||||||
expr = expr_tmpl.format(org.substring(0,-4))
|
expr = expr_tmpl.format(org.substring(0,-4))
|
||||||
sectiondir = join_paths(mandir, 'man' + section)
|
sectiondir = join_paths(mandir, 'man' + section)
|
||||||
|
|||||||
Reference in New Issue
Block a user