// // PlainTextToHTMLTests.swift // RSCoreTests // // Created by Brent Simmons on 10/23/26. // import Foundation import Testing import RSCore @Suite struct PlainTextToHTMLTests { @Test func youTubeDescription() { let text = """ HomeView recognizes up to six people & keeps in the loop. Learn more and shop Apple HomeView: https://apple.co/4s4jhly Collect 200 by Collect 200: https://music.apple/collect-200 Siri AI is available in beta. """ let expected = """

HomeView recognizes up to six people & keeps <everyone> in the loop.

Learn more and shop Apple HomeView: https://apple.co/4s4jhly
Collect 200 by Collect 200: https://music.apple/collect-200

Siri AI is available in beta.

""" #expect(text.convertingPlainTextToHTML == expected) } }