Extracting a table from website that has empty space

I have a website that I am trying to scrape a data table. The table has collapsable indents as this:

image

When I scrape it, the values of all three lines are in the in same column. How can I get the data to show up in the columns they are listed?