1160
Bird
(lemmy.world)
A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.
Rules
This is a science community. We use the Dawkins definition of meme.
that is not a W... i surrounded the URL with backticks, which means it should be treated as code and not made into a link.
cc: PyFedi developer @rimu@piefed.social
I had a glance at the source and don't see a very quick fix, but I think the solution involves getting rid of the auto-linkification here and instead have that be done by the markdown library. This issue indicates that the markdown library PyFedi is using is capable of doing that.
Here is a test I wrote which I think should pass which does not currently :)
it currently produces this failure:
HTH, and thanks for writing free software!
That does help very much, thank you!
I've committed a fix.
PieFed / @cypherpunks@lemmy.ml W
oops, i read my test closer and realized it will never pass as-is due to being cribbed from another test that was using
in
instead ofassertEqual
(and the expected string not containing the closing tags) but I trust it conveys what i mean to