Fix an error with file attachment comments.

Review Request #14259 — Created Dec. 4, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

I ran into an error with the file attachment comments API where we were
trying to serialize the thumbnail HTML, but mark_safe had been
incorrectly moved into a TYPE_CHECKING block. This change fixes that.

Was able to fetch file attachment comments with thumbnail HTML via the
API.

Commits

Files