text formatting in [code]

Discuss issues and requests related with the forum software
michel
Posts: 60
Joined: 18 Aug 2016, 02:47

text formatting in [code]

09 Dec 2016, 04:10

I'm still a bit new and wonder if we could hi-light some text in-between [ code ]

Some use the blue buttons in the forum-editor and don't see that it isn't working:

Code: Select all

gui, add, button, default gok [color=red]default[/color], OK
Makes it hard to read or copy/paste correctly :(

Maybe the forum-editor should hide his own buttons when one is between [ code ] ;-)
User avatar
Nextron
Posts: 1391
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win10 AHK: Unicode x32

Re: text formatting in [code]

09 Dec 2016, 06:47

Did you notice this is recent posts or from the archived board? Because I haven't seen it lately. In the archived board you would find that because prior to some board migrations the color BB-code inside code tags did parse to colored text.
michel
Posts: 60
Joined: 18 Aug 2016, 02:47

Re: text formatting in [code]

09 Dec 2016, 09:47

hmmmm, it does work now, hmmmm
Maybe it was within the archived board. Never mind then.
Guest
Posts: 57
Joined: 17 Oct 2013, 02:32

Re: text formatting in [code]

10 Dec 2016, 05:33

Not all BB tags are allowed for Guests I believe, so when guests post and they use COLOR it won't work here in the new forum. If possible only showing the BB tags (buttons) that are allowed for guest posts would help a bit so they can't use it without typing them manually. On the other hand it doesn't happen very often so probably not worth the time and effort.
michel
Posts: 60
Joined: 18 Aug 2016, 02:47

Re: text formatting in [code]

15 Dec 2016, 19:21

I have it again:
When previewing my new topic, it isn't coloring the text in-between the Code-tags!
just me
Posts: 9453
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: text formatting in [code]

16 Dec 2016, 07:57

Color tags within code tags

Code: Select all

If (Color = 0xFF0000) ; color is [color=#FF0000]red[/color]
are not supported!
Guest

Re: text formatting in [code]

16 Dec 2016, 10:18

Would there be a way to filter our color tags inside code blocks? That way the don't contaminate the posted code and as you may recall the color tag causes a lot of issues in the previous forum when it was converted so now quite a few scripts on the old forum no longer work as they are riddled with COLOR tags. If they can be scrubbed at the time of posting they won't be included and never cause similar problems in the future.

:?:
User avatar
Nextron
Posts: 1391
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win10 AHK: Unicode x32

Re: text formatting in [code]

16 Dec 2016, 11:01

You'll find those tags in the old forum because then it did parse to colored text so people used it. Due to conversion that parsing no longer takes place, resulting in broken code.
For the current forum it isn't supported so you shouldn't use it. Making it get parsed for those that do, would alter code without certainty if it's required. For example, posting a hotstring to add closing tags to a bb-tag would not display properly.

Code: Select all

:*b0:[b]::[/b]{Left 4}
michel
Posts: 60
Joined: 18 Aug 2016, 02:47

Re: text formatting in [code]

17 Dec 2016, 02:09

Ok, thanks. I first taught it didn't work in the old-forum, but I understand now that you can't use tags in the new-forum and the tags in the old are not not working anymore...

Return to “Forum Issues”

Who is online

Users browsing this forum: No registered users and 58 guests