mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 08:38:26 +01:00
Strip exotic characters from the table-sorter plugin.
This is needed under certain circumstances whenever the terminal locale can't be determined and can't handle unicode characters.
This commit is contained in:
parent
de602bb70f
commit
02b6db512b
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ def output_header():
|
||||||
if __selected_format__ == "html" or __selected_format__ == "htmlembedded":
|
if __selected_format__ == "html" or __selected_format__ == "htmlembedded":
|
||||||
base = basedir.get_basedir()
|
base = basedir.get_basedir()
|
||||||
html_header = __output_html_template__(base + "/html/html.header")
|
html_header = __output_html_template__(base + "/html/html.header")
|
||||||
tablesorter_js = __get_zip_file_content__("jquery.tablesorter.min.js", "/html/jquery.tablesorter.min.js.zip")
|
tablesorter_js = __get_zip_file_content__("jquery.tablesorter.min.js", "/html/jquery.tablesorter.min.js.zip").encode("latin-1", "replace")
|
||||||
|
tablesorter_js = tablesorter_js.decode("utf-8", "ignore")
|
||||||
flot_js = __get_zip_file_content__("jquery.flot.js")
|
flot_js = __get_zip_file_content__("jquery.flot.js")
|
||||||
pie_js = __get_zip_file_content__("jquery.flot.pie.js")
|
pie_js = __get_zip_file_content__("jquery.flot.pie.js")
|
||||||
resize_js = __get_zip_file_content__("jquery.flot.resize.js")
|
resize_js = __get_zip_file_content__("jquery.flot.resize.js")
|
||||||
|
|
Loading…
Reference in a new issue