Sign in
android
/
platform
/
external
/
chromium-trace
/
40d1428a57adc59e898118c53c5748e2326f326f
/
.
/
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>'
)