Don't strip HTML from guide headings.

Only do it for the generated TOC, but leave the original HTML alone.

Fixes #507