File: sphinx_math_dollar.patch

package info (click to toggle)
sympy 1.14.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,784 kB
  • sloc: python: 460,598; xml: 359; makefile: 162; sh: 59; lisp: 4
file content (13 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: sympy/doc/ext/sphinx_math_dollar/extension.py
===================================================================
--- sympy.orig/doc/ext/sphinx_math_dollar/extension.py
+++ sympy/doc/ext/sphinx_math_dollar/extension.py
@@ -23,7 +23,7 @@ class MathDollarReplacer(GenericNodeVisi
                     print("sphinx-math-dollar: Skipping", node, "(node_blacklist = %s)" % (node_blacklist,), file=sys.stderr)
                 return
             parent = parent.parent
-        data = split_dollars(node.rawsource)
+        data = split_dollars(node.astext())
         nodes = []
         has_math = False
         for typ, text in data: