graphs: Fix HTML structure