The `enableFolding()` method now takes an "autofold" parameter to control the initial collapse which was previously done unconditionally for all the matches.
Also, instead of wrapping an <a> element around each matched element, it now insert the <a> ''inside''.
Adapt the existing usages of enableFolding to those changes.