Bug 1643819 - Prevent Firefox Docs to copy $ while copying using copy button.r=championshuttler,ahal

Differential Revision: https://phabricator.services.mozilla.com/D80643
This commit is contained in:
Sonia Singla
2020-06-23 15:03:30 +00:00
parent 95f9fce434
commit 280939653a
3 changed files with 17 additions and 14 deletions

View File

@@ -13,6 +13,9 @@ from recommonmark.transform import AutoStructify
OUR_DIR = os.path.dirname(__file__)
topsrcdir = os.path.normpath(os.path.join(OUR_DIR, ".."))
copybutton_prompt_text = ">>> |\\\\$ |\\[\\d*\\]: |\\.\\.\\.: "
copybutton_prompt_is_regexp = True
EXTRA_PATHS = (
"layout/tools/reftest",
"python/mach",