fixing block slot generation

adding figure element to block elements and ignoring br elements when looking at previous element.