def split_into_tags(tags_block):
    """Split tag block into lines representing each tag."""
    tags_block_lines = tags_block.split("\n")[1:]
    splitted_tags_block = []
    i = 0
    for line in tags_block_lines:
        if len(splitted_tags_block) <= i:
            splitted_tags_block.append([])
        line = line.strip()
        splitted_tags_block[i].append(line)
        if line.startswith("-"):
            i += 1
    return splitted_tags_block