Anomaly with [color] and [code]

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15877
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Anomaly with [color] and [code]

Post by ChrisGreaves »

This Post shows a stray [/color] at the foot of the post.
Untitled_04.png
Above is shown the edit box from the post.
It is late at night and I may have missed something, but it seems as if the {code} and {/code} has broken phpBBs memory of the {color} {/color}
Cheers, Chris
You do not have the required permissions to view the files attached to this post.
I’ve been tidying the junk out of my shed for five years, and now can hardly get into the shed

User avatar
Leif
Administrator
Posts: 7245
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: Anomaly with [color] and [code]

Post by Leif »

Another good reason to avoid using the color tags in the first place, if you ask me!
Leif

User avatar
HansV
Administrator
Posts: 79020
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Anomaly with [color] and [code]

Post by HansV »

I edited the post for you before I saw this thread.
Yes, the [code] ... [/code] tags "break" the color tags because [code] sets its own color.
Best wishes,
Hans

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15877
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Anomaly with [color] and [code]

Post by ChrisGreaves »

Leif wrote:
02 Jul 2024, 07:08
Another good reason to avoid using the color tags in the first place, if you ask me!
Or I could just

Code: Select all

stop 

Code: Select all

using 

Code: Select all

code
Cheers, Chris
I’ve been tidying the junk out of my shed for five years, and now can hardly get into the shed

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15877
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Anomaly with [color] and [code]

Post by ChrisGreaves »

HansV wrote:
02 Jul 2024, 07:31
I edited the post for you before I saw this thread.
Yes, the [code] ... [/code] tags "break" the color tags because [code] sets its own color.
Thank you Hans. So this was already in the "known bugs" list of phpBB, yes? :evilgrin:
Cheers, Chris
I’ve been tidying the junk out of my shed for five years, and now can hardly get into the shed

User avatar
HansV
Administrator
Posts: 79020
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Anomaly with [color] and [code]

Post by HansV »

I didn't know about this bug/feature...
Best wishes,
Hans

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15877
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Anomaly with [color] and [code]

Post by ChrisGreaves »

HansV wrote:
02 Jul 2024, 10:55
I didn't know about this bug/feature...
Ask me how my day was yesterday ... OK, I also found a bug in Everything 1.5! I might take the rest of the week off :laugh: :rofl:
Cheers, Chris
I’ve been tidying the junk out of my shed for five years, and now can hardly get into the shed

User avatar
StuartR
Administrator
Posts: 12697
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Anomaly with [color] and [code]

Post by StuartR »

Setting text colours is problematic because other members may have a completely different background colour to you
StuartR


User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15877
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Anomaly with [color] and [code]

Post by ChrisGreaves »

StuartR wrote:
02 Jul 2024, 12:22
Setting text colours is problematic because other members may have a completely different background colour to you
Agreed. I have been aware of Red-Green colour blindness for the past 40 years or so, but I think that you are referring to the vast range of different colour schemes that are available in so many applications nowadays. Eileen's Lounge being one of them.
Cheers, Chris
I’ve been tidying the junk out of my shed for five years, and now can hardly get into the shed