On Wednesday, July 20, 2016 at 9:01:09 PM UTC+12, I wrote:
>
> On Wednesday, July 20, 2016 at 4:31:22 PM UTC+12, DG wrote:
>
> var command = "notebook_url = " + "'"+thename+"'";
>>
>
> May I suggest using 
>
> var command = "notebook_url = \"" + escape(thename) + "\""
>
> just in case?
>

Or, better still: 

var command = "notebook_url = urllib.parse.unquote(\"" + escape(thename) + 
"\")"

to give you back the string you wanted in the first place.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/3fb390d8-36f4-45a1-bed6-5f84dc8ec63b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to