]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/CGI.pm
* Allow html5 video and audio tags and their attributes in the htmlscrubber.
[ikiwiki.git] / IkiWiki / CGI.pm
index 155010a97e6d606a1fff8af7b85ff93aef8fc0f5..788d0487e1012d3d6fe4dd8359200e99bf186e15 100644 (file)
@@ -596,6 +596,10 @@ sub cgi_editpage ($$) { #{{{
                # may have been committed while the post-commit hook was
                # disabled.
                require IkiWiki::Render;
+               # Reload index, since the first time it's loaded is before
+               # the wiki is locked, and things may have changed in the
+               # meantime.
+               loadindex();
                refresh();
                saveindex();