[sagenb] 30/179: Don't scrub html twice.

felix salfelder felix-guest at moszumanska.debian.org
Tue May 6 12:05:07 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository sagenb.

commit 9f5bcf459f83587f54d615ae6dc0b792a5544c40
Author: Jason Grout <jason.grout at drake.edu>
Date:   Tue Oct 9 10:13:38 2012 -0500

    Don't scrub html twice.
---
 sagenb/notebook/cell.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sagenb/notebook/cell.py b/sagenb/notebook/cell.py
index d4eac7a..b61c66a 100644
--- a/sagenb/notebook/cell.py
+++ b/sagenb/notebook/cell.py
@@ -1866,7 +1866,7 @@ class Cell(Cell_generic):
 
         # If there is an error in the output, specially format it.
         if not self.is_interactive_cell():
-            s = format_exception(format_html(s), ncols)
+            s = format_exception(s, ncols)
 
         # Everything not wrapped in <html> ... </html> should be
         # escaped and word wrapped.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list