Oddbean new post about | logout
 Bug report nostr:nprofile1qqsy2ga7trfetvd3j65m3jptqw9k39wtq2mg85xz2w542p5dhg06e5qpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszxrhwden5te0dehhxarj9enx6apwwa5h5tnzd9az7qgwwaehxw309ahx7uewd3hkctczcs834 #Iris:

I've made dozens of posts on Iris in the last week, and have noticed that while image-only posts work beautifully, everything breaks on other clients as soon as I add text or hashtags to the image post. Example below:
https://nostpic.com/media/0018b7ee33fb253843639c62e292fec700a69a93b08ee374c5bda971c9b39564/23024041212e0daf91bfabe2e1ffd8234cc472775165f736893e5ea43affb1c7.webp https://nostpic.com/media/0018b7ee33fb253843639c62e292fec700a69a93b08ee374c5bda971c9b39564/844965dff8fe09c5ecbdda986baf768d67f65813b86b9b444ac0296f48f7fbe5.webp https://nostpic.com/media/0018b7ee33fb253843639c62e292fec700a69a93b08ee374c5bda971c9b39564/535a2f3b4f338f85207059aedde7e407d25289a4193f964aa2c0fdc5261bd6db.webp
nostr:nevent1qqsymc49aczfqy6v05juxvl9m5ly08x828jw9la4jq4wwc6rtnkjrwspr4mhxue69uhkummnw3ezucnfw33k76twv4ezuum0vd5kzmp0qgsqqx9hacelkffcgd3ecchzjtlvwq9xn2fmprhrwnzmm2t3exee2eqrqsqqqqqpv4ra0t 
 Seems there's no whitespace before the url, so other clients interpret the leading part as part of the url.

Maybe Iris shouldn't highlight urls that don't have leading whitespace or linebreak, so users notice in the editor that something's wrong. (I actually used to have that check in my regex, but that broke other things in the library I used.)