Skip to content

Properly escape characters to HTML entities in FITS header dumps by porting template to Jinja2

Leo P. Singer requested to merge leo-singer/gwcelery:fits-header-jinja into master

Porting the FITS header template to Jinja2 allows us to automatically escape special characters as HTML entities. IMHO, it also makes the code a bit easier to read.

Note that this adds jinja2 as a dependency, but it will already be a dependency indirectly via the ligo-followup-advocate package.

Merge request reports