# HG changeset patch # User Jan Kanis # Date 1403094792 -7200 # Node ID 6ecbfebb9dd93d4a524581f36e8b9f92d31c0a21 # Parent 371cd585e459b63c63d97637c53a445a4215b8eb doc changes diff -r 371cd585e459 -r 6ecbfebb9dd9 blast2html.py --- 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)