Add HTML5 support for WordPress galleries.