Imported Upstream version 2.8.1 upstream/2.8.1
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 02:07:31 +0000 (11:07 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 18 Jul 2022 02:07:31 +0000 (11:07 +0900)
CHANGES
PKG-INFO
Pygments.egg-info/PKG-INFO
pygments/__init__.py
pygments/formatters/latex.py

diff --git a/CHANGES b/CHANGES
index 977c698c0809d76c805ab5b99a6508f7e5d9786a..47295b48a41d629a93bf2ccc968f2c51202e596d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,6 +7,12 @@ pull request numbers to the requests at
 <https://github.com/pygments/pygments/pulls>.
 
 
+Version 2.8.1
+-------------
+(released March 7, 2021)
+
+- Fix issue with LaTeX formatter and ``minted`` (#1734, #1735, #1736, #1737)
+
 Version 2.8.0
 -------------
 (released February 14, 2021)
index 07eb0752c0dcf771e88eb10c9852dd43b1324c31..cd6ec3e60c234cb5716c28e26f5d672bd2021ab1 100644 (file)
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: Pygments
-Version: 2.8.0
+Version: 2.8.1
 Summary: Pygments is a syntax highlighting package written in Python.
 Home-page: https://pygments.org/
 Author: Georg Brandl
index 07eb0752c0dcf771e88eb10c9852dd43b1324c31..cd6ec3e60c234cb5716c28e26f5d672bd2021ab1 100644 (file)
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: Pygments
-Version: 2.8.0
+Version: 2.8.1
 Summary: Pygments is a syntax highlighting package written in Python.
 Home-page: https://pygments.org/
 Author: Georg Brandl
index 199ce1bd4f2c874adb6a7a19d9de9fd2eeb1d2a8..97efc00d2ebd2ed2bd1fed78560ebb089fb590a0 100644 (file)
@@ -27,7 +27,7 @@
 import sys
 from io import StringIO, BytesIO
 
-__version__ = '2.8.0'
+__version__ = '2.8.1'
 __docformat__ = 'restructuredtext'
 
 __all__ = ['lex', 'format', 'highlight']
index 304f70f4bdbb118c629f8fdf89682c410a7b5d29..e32fcebc5a3a18f19d851cfdc1e773015a6ddce7 100644 (file)
@@ -299,7 +299,7 @@ class LatexFormatter(Formatter):
                 cmndef += (r'\def\$$@tc##1{\textcolor[rgb]{%s}{##1}}' %
                            rgbcolor(ndef['color']))
             if ndef['border']:
-                cmndef += (r'\def\$$@bc##1{{\setlength{\fboxsep}{-\fboxrule}'
+                cmndef += (r'\def\$$@bc##1{{\setlength{\fboxsep}{\string -\fboxrule}'
                            r'\fcolorbox[rgb]{%s}{%s}{\strut ##1}}}' %
                            (rgbcolor(ndef['border']),
                             rgbcolor(ndef['bgcolor'])))