* fix: Correct logic errors in shared utilities
* fix: Restore per-column cells in getCellsInRow and convert every attachment url
The g flag made the attachment regex skip every second match, and removing
duplicate cells broke callers that index getCellsInRow by column.
* test: Cover uppercase attachment URLs
* revert: Remove uncertain fixes