Brave Browser automatically removing empty bookmarks folders during import

Description of the issue:

Brave Browser is automatically deleting, erasing, removing empty bookmarks folders.

Occurs during import.

Steps to Reproduce (add as many as necessary): 1. 2. 3.

  1. Edit bookmarks
  2. Add a folder
  3. Do Not add bookmarks within that new folder
  4. Export bookmarks to ...html file
  5. Exit / Quit browser
  6. Run browser
  7. Delete ALL bookmarks
  8. Pause for a while, to allow the Undo to quit
  9. Import from the exported ...html file (created in step 4)
  10. The empty folder (see steps 2, 3) has been automatically deleted.

Expected result:

Empty bookmarks folders should not be automatically deleted at any time, for any occasion.

Reproduces how often:

Always

Operating System and Brave Version(See the About Brave page in the main menu):

MacOS 14.8.5 Sonoma
Brave Browser stable release v1.90.122

Additional Information:

I have over 11,000 bookmarks accumulated over 38 years.

84 empty folders - brief screenshot:

Empty bookmarks folders Do Not have the arrow toggle:

All of the empty folders are sub-folders, if that matters?

Thankfully > Issue Does Not occur for older Brave Browser v1.69.168 that I am using on older MacOS 10.15.7 Catalina.

Yep, I see this too. Not sure if this is intentional, a Chromium limitation or an issue (with Brave or Chromium) but I do think one would expect the folder structure to be preserved, even if empty. Opened an issue for this: