Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
invenio-previewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Automate
Agent sessions
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fdm
invenio-previewer
Commits
efb06bca
Commit
efb06bca
authored
Nov 2, 2022
by
Maximilian Moser
Committed by
Karolina
Jan 12, 2023
Browse files
Options
Downloads
Patches
Plain Diff
templates: add safe filter to html_tags
* otherwise, the HTML tags are escaped and thus not interpreted by the browser
parent
313df1fe
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
invenio_previewer/templates/invenio_previewer/pdfjs.html
+2
-1
2 additions, 1 deletion
invenio_previewer/templates/invenio_previewer/pdfjs.html
invenio_previewer/templates/semantic-ui/invenio_previewer/pdfjs.html
+2
-1
2 additions, 1 deletion
...viewer/templates/semantic-ui/invenio_previewer/pdfjs.html
with
4 additions
and
2 deletions
invenio_previewer/templates/invenio_previewer/pdfjs.html
+
2
−
1
View file @
efb06bca
...
...
@@ -2,6 +2,7 @@
This file is part of Invenio.
Copyright (C) 2015-2019 CERN.
Copyright (C) 2022 TU Wien.
Invenio is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
...
...
@@ -10,7 +11,7 @@
{%- extends config.PREVIEWER_BASE_TEMPLATE %}
{%- block html_tags %}
{{ html_tags }}
{{ html_tags
|safe
}}
{%- endblock %}
{%- block head %}
...
...
This diff is collapsed.
Click to expand it.
invenio_previewer/templates/semantic-ui/invenio_previewer/pdfjs.html
+
2
−
1
View file @
efb06bca
...
...
@@ -2,6 +2,7 @@
This file is part of Invenio.
Copyright (C) 2015-2020 CERN.
Copyright (C) 2022 TU Wien.
Invenio is free software; you can redistribute it and/or modify it
under the terms of the MIT License; see LICENSE file for more details.
...
...
@@ -10,7 +11,7 @@
{%- extends config.PREVIEWER_BASE_TEMPLATE %}
{%- block html_tags %}
{{ html_tags }}
{{ html_tags
|safe
}}
{%- endblock %}
{%- block head %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment