File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ Building:
2
+
3
+ koext build --unjarred
4
+
Original file line number Diff line number Diff line change 8
8
<em : unpack >true</em : unpack >
9
9
10
10
<em : name >Side by Side Diffs</em : name >
11
- <em : version >0.2.3 </em : version >
11
+ <em : version >0.2.4 </em : version >
12
12
<em : description >Provide side-by-side diffs in Komodo.</em : description >
13
13
<em : creator >Todd Whiteman</em : creator >
14
14
<em : iconURL >chrome://sbsdiff/content/sbsdiff.png</em : iconURL >
Original file line number Diff line number Diff line change @@ -622,9 +622,17 @@ def toHTML(self):
622
622
from django .core .management import setup_environ
623
623
from django .template .loader import render_to_string
624
624
setup_environ (reviewboard .settings )
625
- return render_to_string ('diffviewer/diff_file_fragment.html' ,
625
+ # Force encoding to "utf-8".
626
+ html = """<!doctype html>
627
+ <head>
628
+ <meta charset="utf-8" />
629
+ </head>
630
+
631
+ """
632
+ html += render_to_string ('diffviewer/diff_file_fragment.html' ,
626
633
{ 'file' : self ,
627
634
'collapseall' : True })
635
+ return html
628
636
629
637
630
638
You can’t perform that action at this time.
0 commit comments