Skip to content

Commit b27dc3b

Browse files
committed
fix #3352
1 parent 6767990 commit b27dc3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiita_pet/templates/study_ajax/prep_summary.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ <h4>
434434

435435
<span id="prep-name-span">{{name}}</span> - ID {{prep_id}} ({{data_type}})
436436
{% if user_level in ('admin', 'wet-lab admin') and creation_job is not None %}
437-
<a class="btn btn-default" download="{{creation_job_filename}}" href="data:text/plain;charset=utf-8,{{creation_job_filename_body}}"><span class="glyphicon glyphicon-download-alt"></span> SampleSheet</a>
437+
<a class="btn btn-default" download="{{creation_job_filename}}" href="data:text/plain;charset=utf-8,encodeURIComponent({{creation_job_filename_body}})"><span class="glyphicon glyphicon-download-alt"></span> SampleSheet</a>
438438
{% if creation_job_artifact_summary is not None %}
439439
<a class="btn btn-default" target="_blank" href="{% raw qiita_config.portal_dir %}/artifact/html_summary/{{creation_job_artifact_summary}}"><span class="glyphicon glyphicon-download-alt"></span> Creation Job Output</a>
440440
{% end %}

0 commit comments

Comments
 (0)