Home
c4science
Search
Configure Global Search
Log In
Diffusion
invenio-infoscience
13c9b4017559
jsonutils: new wash_for_js() to escape strings
13c9b4017559
Actions
Authored by
Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
on May 11 2012, 16:37.
Edit Commit
Download Raw Diff
Edit Related Objects...
Edit Revisions
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
Description
jsonutils: new wash_for_js() to escape strings
New method wash_for_js() to properly escape strings for use in JavaScript to ensure that e.g. line breaks will not cause syntax errors.
Details
Committed
Tibor Simko <tibor.simko@cern.ch>
Jun 15 2012, 16:36
Parents
R3600:72c9a74a2be5: InvenioConnector: fixes mechanize compatibility
Branches
Unknown
Tags
Unknown
Event Timeline
Tibor Simko <tibor.simko@cern.ch> committed
R3600:13c9b4017559: jsonutils: new wash_for_js() to escape strings
(authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch>).
Jun 15 2012, 16:36