The new folding function cannot have footnotes in headers