Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
chromium-trace
/
1db90260068e9a9bf435b925d008b67810c238af
/
.
/
catapult
/
common
/
py_vulcanize
/
py_vulcanize
/
js_utils.py
blob: 6e6ca9db674be52b9c3d030d4b1d54444f814352 [
file
] [
log
] [
blame
]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
def
EscapeJSIfNeeded
(
js
):
return
js
.
replace
(
'</script>'
,
'<\/script>'
)