-
-
apps/shell/src/shell/templates/index.mako (Diff revision 1) Seems simpler to just do: return text.replace(/&/g, '&') .replace(/</g, '<') ... (I'm not suggesting that we improve the speed of this. We'll need a string builder, which is a hassle.)
[shell] Can copy/paste shell output
Review Request #2083 — Created May 16, 2012 and submitted
Information | |
---|---|
romain | |
old-hue-rw | |
Reviewers | |
hue | |
bcwalrus |
commit 3c7101184c4c80ba3ab44dc4127918912746171d Author: Romain Rigaux <romain@cloudera.com> Date: Wed May 16 14:13:30 2012 -0700 [shell] Can copy/paste shell output Fix copy/paste of shell output Fix prompt focus Remove extra \n in shell output :100644 100644 78853b2... 0ef9dc9... M apps/shell/src/shell/templates/index.mako :100644 100644 7be6334... a0ba6c3... M apps/shell/src/shell/tests.py
Manual testing in Chrome/FF. Unit tests.