projects
/
platform
/
framework
/
web
/
chromium-efl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PDNCF] Python 3.12 compatibility
[platform/framework/web/chromium-efl.git]
/
third_party
/
catapult
/
common
/
py_vulcanize
/
py_vulcanize
/
js_utils.py
1
# Copyright 2014 The Chromium Authors. All rights reserved.
2
# Use of this source code is governed by a BSD-style license that can be
3
# found in the LICENSE file.
4
5
6
def EscapeJSIfNeeded(js):
7
return js.replace('</script>', r'<\/script>')