TASVideos / tasvideos

The code for the live TASVideos website
https://tasvideos.org/
GNU General Public License v3.0
62 stars 29 forks source link

Fix rendering of certain wiki links #1859

Closed nattthebear closed 4 months ago

nattthebear commented 4 months ago

When the link has no display text, but the normalized form differs from the unnormalized form, we were missing formatting since 1c8034d679136dec196126ffcfa1fbac5f0c07f6.

Fixes https://github.com/TASVideos/tasvideos/issues/1858.

adelikat commented 4 months ago

the approach looks good to me

nattthebear commented 4 months ago

I don't have a localdev set up at the moment so I can't validate the correctness of this, but otherwise, I'm fine with merging it.

adelikat commented 4 months ago

Seems to work in all the scenarios I could think of