blob: 6e6ca9db674be52b9c3d030d4b1d54444f814352 (
plain)
1
2
3
4
5
6
7
|
# 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>')
|