(Bug 60030) Use $content of the hook for toc hiding

Change-Id: Ia1d0a5c4b23459a7da58803fbf886b562eea7f37
Merge "(Bug 60030) Use $content of the hook for toc hiding"