Report all bugs, or problems you've encountered here.

@mentions in [code] blocks are replaced

@mentions in [code] blocks are replaced

Postby Akuyi » Thu Oct 08, 2020 8:51 am

Putting an @mention in a multi-line code block will not be treated as code and instead the text will be replaced by a link to the user's profile.

Example:

[code]
@Akuyi
[/code]

will turn into

Code: Select all
[url=https://www.windlynonline.com/cgi-bin/forums/memberlist.php?mode=viewprofile&u=734][b]Akuyi[/b][/url]
User avatar


Local time: Sun Apr 28, 2024 12:47 am



Questing with my trusty steed Oculus in the lands of Vee-Ar.


Re: @mentions in [code] blocks are replaced

Postby Akuyi » Thu Oct 08, 2020 8:54 am

Use-case: I'm trying to keep track of an easily copy-able ping list and thought I could just put it into a code block.
User avatar


Local time: Sun Apr 28, 2024 12:47 am



Re: @mentions in [code] blocks are replaced

Postby galled » Thu Oct 08, 2020 10:20 am

As a workaround, you could use a spoiler for your list?
User avatar

Server Administrator

Local time: Sat Apr 27, 2024 4:47 pm


Image
~Windlyn Daydream by Mouse

Windlyn is so fun,
Windlyn is so grand,
So come on everyone,
All across the land,
Come and join us now,
In this awesome site,
We will show you how,
Talking through the night.
~npixelz


Re: @mentions in [code] blocks are replaced

Postby Akuyi » Thu Oct 08, 2020 4:09 pm

No, the same seems to happen inside a spoiler.
User avatar


Local time: Sun Apr 28, 2024 12:47 am



Re: @mentions in [code] blocks are replaced

Postby Diana » Sat Oct 10, 2020 10:17 pm

The code block gives us so much trouble with everything... :(

I will add it to the things to look at. I don't have a faster workaround though.
User avatar

Site Admin

Local time: Sat Apr 27, 2024 4:47 pm



Re: @mentions in [code] blocks are replaced

Postby Akuyi » Sun Oct 11, 2020 2:51 am

I see, thanks for looking into it! :heart:
User avatar


Local time: Sun Apr 28, 2024 12:47 am




Return to Bug Report

Who is online

Users browsing this forum: claudebot [Bot] and 0 guests