Also apply anchors to headers. Replace anchorify with non-minified patched version to deal with nested nodes