* feat(webui): refine attachment galleries and file cards * fix(webui): align attachment tests and Escape handling