aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorPhil Crosby2014-04-18 09:48:10 -0700
committerPhil Crosby2014-04-18 09:48:10 -0700
commit42309a74a4f61c6855f92780485e47bc11973d8b (patch)
tree24ba8155f40bbac164f90403fd53b5a44fc1906c /content_scripts
parentea9fd000fadf46bc7d53685716c3e5fe5056350a (diff)
parentf454304f2750eb797b0e9683a87c1bdd354b1b17 (diff)
downloadvimium-42309a74a4f61c6855f92780485e47bc11973d8b.tar.bz2
Merge pull request #1022 from mrmr1993/HTMLEscaping
Fix HTML escaping issues
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index a2139df6..b9666aa5 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -839,7 +839,7 @@ window.showHelpDialog = (html, fid) ->
container.innerHTML = html
container.getElementsByClassName("closeButton")[0].addEventListener("click", hideHelpDialog, false)
-
+
VimiumHelpDialog =
# This setting is pulled out of local storage. It's false by default.
getShowAdvancedCommands: -> settings.get("helpDialog_showAdvancedCommands")
@@ -908,7 +908,7 @@ HUD =
show: (text) ->
return unless HUD.enabled()
clearTimeout(HUD._showForDurationTimerId)
- HUD.displayElement().innerHTML = text
+ HUD.displayElement().innerText = text
clearInterval(HUD._tweenId)
HUD._tweenId = Tween.fade(HUD.displayElement(), 1.0, 150)
HUD.displayElement().style.display = ""