Mercurial > repos > jankanis > blast2html
changeset 72:6ecbfebb9dd9
doc changes
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Wed, 18 Jun 2014 14:33:12 +0200 |
parents | 371cd585e459 |
children | 67b1a319c6dc 40ce2043006a |
files | blast2html.py |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/blast2html.py Wed Jun 18 14:23:15 2014 +0200 +++ b/blast2html.py Wed Jun 18 14:33:12 2014 +0200 @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # Copyright The Hyve B.V. 2014 -# License: GPL version 3 or higher +# License: GPL version 3 or (at your option) any higher version from __future__ import unicode_literals @@ -192,9 +192,11 @@ @filter def js_string_escape(value): - """Escape javascript string literal escapes. Note that this only works - within javascript string literals, not in general javascript - snippets.""" + """ + Javascript string literal escape. Note that this only escapes data + for embedding within javascript string literals, not in general + javascript snippets. + """ value = str(value)