File: 0008-Fix-incorrect-escape-sequence.patch

package info (click to toggle)
plastex 3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 6,132 kB
  • sloc: python: 23,341; xml: 18,076; javascript: 7,755; ansic: 46; makefile: 40; sh: 26
file content (21 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Stuart Prescott <stuart@debian.org>
Date: Sun, 16 Mar 2025 12:00:08 +1100
Subject: Fix incorrect escape sequence

---
 plasTeX/Packages/xy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plasTeX/Packages/xy.py b/plasTeX/Packages/xy.py
index 5557bbd..fb0cc2c 100644
--- a/plasTeX/Packages/xy.py
+++ b/plasTeX/Packages/xy.py
@@ -8,7 +8,7 @@ class xymatrix(Command):
 
     class EndRow(Command):
         """ End of a row """
-        macroName = '\\'
+        macroName = r'\\'
 
     class CellDelimiter(Command):
         """ Cell delimiter """