Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: mickjav on September 28, 2021, 12:48:39 PM

Title: News more than one [color=white]
Post by: mickjav on September 28, 2021, 12:48:39 PM
I have tested this on my 2.0.18 fourm and both links show in white but on my 2.1 RC4 it only colors the last link white.

Want to become a tester for one or more programs or examples please contact [color=white][iurl=https://www.databasedreams.co.uk/support/index.php?action=profile;u=1]admin[/iurl][/color], We have laid out what we expect from our testers [color=white][iurl="https://www.databasedreams.co.uk/support/index.php?board=3.0"]here[/iurl][/color]
Title: Re: News more than one [color=white]
Post by: Arantor on September 28, 2021, 12:52:28 PM
I'm not sure which but it's possible one of those links is malformed, because one of the links has quotes, the other doesn't.

I think what you should do is drop the quotes in the iurl tag then move the color tags inside the link since I'm fairly sure the reason the last one gets a white colour is because CSS doesn't consider it a properly made link.
Title: Re: News more than one [color=white]
Post by: mickjav on September 28, 2021, 01:38:32 PM
Quote from: Arantor on September 28, 2021, 12:52:28 PMI'm not sure which but it's possible one of those links is malformed, because one of the links has quotes, the other doesn't.

I think what you should do is drop the quotes in the iurl tag then move the color tags inside the link since I'm fairly sure the reason the last one gets a white colour is because CSS doesn't consider it a properly made link.

Didn't notice them remove but still same issue

Want to become a tester for one or more programs or examples please contact [color=white][iurl=https://www.databasedreams.co.uk/support/index.php?action=profile;u=1]admin[/iurl][/color], We have laid out what we expect from our testers [color=white][iurl=https://www.databasedreams.co.uk/support/index.php?board=3.0]here[/iurl][/color]
Title: Re: News more than one [color=white]
Post by: mickjav on September 28, 2021, 01:40:02 PM
I'm on my tab at present
Title: Re: News more than one [color=white]
Post by: Arantor on September 28, 2021, 01:53:13 PM
Well, that makes sense, the stying for link colours will take precedence over the colour defined outside the link - this is why I said to move the color bbcode inside the link...
Title: Re: News more than one [color=white]
Post by: mickjav on September 28, 2021, 02:35:38 PM
Quote from: Arantor on September 28, 2021, 01:53:13 PMWell, that makes sense, the stying for link colours will take precedence over the colour defined outside the link - this is why I said to move the color bbcode inside the link...

Sorry must have miss read