Show More
@@ -97,7 +97,7 b'' | |||
|
97 | 97 | --> |
|
98 | 98 | <div class="code-body textarea text-area editor"> |
|
99 | 99 | %if renderer: |
|
100 | ${h.render(gist_file.content, renderer=renderer)} | |
|
100 | ${h.render(gist_file.str_content, renderer=renderer)} | |
|
101 | 101 | %else: |
|
102 | 102 | ${h.pygmentize(gist_file,linenos=True,anchorlinenos=True,lineanchors='L',cssclass="code-highlight")} |
|
103 | 103 | %endif |
@@ -1,4 +1,3 b'' | |||
|
1 | ## -*- coding: utf-8 -*- | |
|
2 | 1 |
|
|
3 | 2 | ## <%namespace name="diff_block" file="/changeset/diff_block.mako"/> |
|
4 | 3 | ## ${diff_block.diff_block_changeset_table(change)} |
@@ -16,7 +15,7 b'' | |||
|
16 | 15 | <div id="${h.FID('',filenode_path)}_target" ></div> |
|
17 | 16 | <div id="${h.FID('',filenode_path)}" class="diffblock margined comm"> |
|
18 | 17 | <div class="code-body"> |
|
19 |
<div class="full_f_path" path="${h.safe_ |
|
|
18 | <div class="full_f_path" path="${h.safe_str(filenode_path)}" style="display: none"></div> | |
|
20 | 19 | ${diff|n} |
|
21 | 20 | % if file_data["is_limited_diff"]: |
|
22 | 21 | % if file_data["exceeds_limit"]: |
@@ -37,7 +36,7 b'' | |||
|
37 | 36 | <div id="${h.FID('',filenode_path)}_target" ></div> |
|
38 | 37 | <div id="${h.FID('',filenode_path)}" class="diffblock margined comm" > |
|
39 | 38 | <div class="code-body"> |
|
40 |
<div class="full_f_path" path="${h.safe_ |
|
|
39 | <div class="full_f_path" path="${h.safe_str(filenode_path)}" style="display: none;"></div> | |
|
41 | 40 | ${diff|n} |
|
42 | 41 | % if file_data["is_limited_diff"]: |
|
43 | 42 | % if file_data["exceeds_limit"]: |
@@ -71,7 +71,7 b'' | |||
|
71 | 71 | |
|
72 | 72 | <div id="editor_container"> |
|
73 | 73 | <pre id="editor_pre"></pre> |
|
74 | <textarea id="editor" name="content" >${h.escape(c.file.content)|n}</textarea> | |
|
74 | <textarea id="editor" name="content" >${h.escape(c.file.str_content)|n}</textarea> | |
|
75 | 75 | <div id="editor_preview" ></div> |
|
76 | 76 | </div> |
|
77 | 77 | </div> |
@@ -146,7 +146,7 b'' | |||
|
146 | 146 | 'standard': h.route_path('repo_files',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path), |
|
147 | 147 | } |
|
148 | 148 | %> |
|
149 | ${h.render(c.file.content, renderer=c.renderer, relative_urls=relative_urls)} | |
|
149 | ${h.render(c.file.str_content, renderer=c.renderer, relative_urls=relative_urls)} | |
|
150 | 150 | %else: |
|
151 | 151 | <table class="cb codehilite"> |
|
152 | 152 | %if c.annotate: |
General Comments 0
You need to be logged in to leave comments.
Login now