Ulrich是正确的,TOC是在toc.js脚本的浏览器中生成的.如果你有权访问ZMI,你可以在portal_skins/plone_ecmascript/toc.js那里找到它,你可以在那里复制它custom文件夹中.
第19行的深度有限:
$(content).find('*').not('.comment > h3').filter(function() { return (/^h[1234]$/).test(this.tagName.toLowerCase()); })
Run Code Online (Sandbox Code Playgroud)
你可以添加一个5(甚至是6)regex,这可能就是它的全部内容.