diff --git a/app/views/wiki/tex.rhtml b/app/views/wiki/tex.rhtml
index 8349b734..1e885dcb 100644
--- a/app/views/wiki/tex.rhtml
+++ b/app/views/wiki/tex.rhtml
@@ -215,7 +215,8 @@
\newcommand{\scriptscriptsize}{\scriptscriptstyle}
\newcommand{\mathfr}{\mathfrak}
\newcommand{\statusline}[2]{#2}
-\newcommand{\toggle}[2]{#1}
+\newcommand{\tooltip}[2]{#2}
+\newcommand{\toggle}[2]{#2}
% Theorem Environments
\theoremstyle{plain}
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index 0a1fe23b..6729004c 100755
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -1207,7 +1207,8 @@ class WikiControllerTest < ActionController::TestCase
\newcommand{\scriptscriptsize}{\scriptscriptstyle}
\newcommand{\mathfr}{\mathfrak}
\newcommand{\statusline}[2]{#2}
-\newcommand{\toggle}[2]{#1}
+\newcommand{\tooltip}[2]{#2}
+\newcommand{\toggle}[2]{#2}
% Theorem Environments
\theoremstyle{plain}