E]')) {
                                     // Force break from while loop? Maybe not needed if outer loop handles `done` correctly.
                                 }
                                boundary = buffer.indexOf('\n\n'); // Look for next message boundary
                            }
                             // If loop finished due to `done`, ensure final render with source link
                             if (done) break;

                        } // end while loop

                   