curationexperts / mahonia

Oregon Health & Science Repository
Apache License 2.0
6 stars 0 forks source link

Sanitize formatting for citations and mark as HTML safe #183

Closed no-reply closed 6 years ago

no-reply commented 6 years ago

Citation formatting needs to be sanitized to avoid HTML injection from citation styles. We allow extremely simple formatting such as might be introduced by the citation processor itself, then mark as HTML safe for rendering.

Closes #182

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.01%) to 96.393% when pulling 2c381f12de5a2a3e9d5852bda3c5a11090233acf on citation-formatting into f4fa3a03bdd7d02cb2ce96dbed7aed27f47ecaf0 on master.