diff options
author | Gaurav Jain <gaurav@gauravjain.org> | 2014-05-17 10:06:29 -0400 |
---|---|---|
committer | Gaurav Jain <gaurav@gauravjain.org> | 2014-05-17 10:06:29 -0400 |
commit | b4328f0a0cd095ce34eb4614cfd3267d695ddf8f (patch) | |
tree | 6af6ad8b23f89c47746c280f7e2bf8cbefcd4ce6 /pygments/formatters/latex.py | |
parent | 16cc059837eb83f96f35caf207c1e0778673f63c (diff) | |
parent | 778edd1d5ff974b1d4084af964151d9f87f05efd (diff) | |
download | pygments-b4328f0a0cd095ce34eb4614cfd3267d695ddf8f.tar.gz |
Merged birkenfeld/pygments-main into default
Diffstat (limited to 'pygments/formatters/latex.py')
-rw-r--r-- | pygments/formatters/latex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/formatters/latex.py b/pygments/formatters/latex.py index 413cca63..352684b0 100644 --- a/pygments/formatters/latex.py +++ b/pygments/formatters/latex.py @@ -375,9 +375,9 @@ class LatexFormatter(Formatter): if len(sep1) > 0: b,sep2,text = text.partition(self.right) if len(sep2) > 0: - value = value + escape_tex(a, self.commandprefix) + b + value += escape_tex(a, self.commandprefix) + b else: - value = value + escape_tex(a + sep1 + b, self.commandprefix) + value += escape_tex(a + sep1 + b, self.commandprefix) else: value = value + escape_tex(a, self.commandprefix) else: |