Changeset - ba7b8dfac7d5
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 12 years ago 2013-06-27 23:53:57
marcin@python-works.com
2way compare: fixed missing "<" escape code
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/files.py
Show inline comments
 
@@ -663,13 +663,13 @@ class FilesController(BaseRepoController
 

	
 
        html_escape_table = {
 
            "&": "\u0026",
 
            '"': "\u0022",
 
            "'": "\u0027",
 
            ">": "\u003e",
 
            "<": "\<",
 
            "<": "\u003c",
 
            '\\': "\u005c",
 
            '\n': '\\n'
 
        }
 

	
 
        c.orig1 = h.html_escape((node1_content), html_escape_table)
 
        c.orig2 = h.html_escape((node2_content), html_escape_table)
0 comments (0 inline, 0 general)