Issue #2346783 by Rok Žlender: Fixed Code block in FilterAlign and FilterCaption not closed properly.