3.5.11 Bug fixed with fancybox function in figure custom tag