Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7168828

Browse files
authoredMar 6, 2025··
Directly render EDR JSON in HTML (geopython#1955)
1 parent 4f90235 commit 7168828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎pygeoapi/templates/collections/edr/query.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
}
7373
})
7474

75-
76-
displayCovJSON(JSON.parse('{{ data | to_json | safe }}'), {display: true})
75+
var covjson_data = {{ data | to_json | safe }};
76+
displayCovJSON(covjson_data, {display: true})
7777

7878
const truncateString = (str, maxLength) => {
7979
str = str.replace(/\+/g, ' ');

0 commit comments

Comments
 (0)
Please sign in to comment.