BUG: Ensure excerpts are returned as HTMLText instances.

a7629c8bb260fd6d23c04dee7520222ca0c070c5 inadvertently made it so
they were returned as plain strings due to the replace operation.