mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
Escape ampersand in table.el LaTeX output
* lisp/textmodes/table.el (table--generate-source-scan-lines): Add ampersand '&' to the list of characters to escape in LaTeX output.
This commit is contained in:
parent
f9aa499afa
commit
3eb4e0db5c
@ -3279,7 +3279,7 @@ Currently this method is for LaTeX only."
|
||||
(with-temp-buffer
|
||||
(insert line)
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "\\([#$~_^%{}]\\)\\|\\(\\\\\\)\\|\\([<>|]\\)" nil t)
|
||||
(while (re-search-forward "\\([#$~_^%{}&]\\)\\|\\(\\\\\\)\\|\\([<>|]\\)" nil t)
|
||||
(if (match-beginning 1)
|
||||
(save-excursion
|
||||
(goto-char (match-beginning 1))
|
||||
|
Loading…
Reference in New Issue
Block a user