TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 291
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 270
  • Total: 270

If this character & is included in the topic title, then on the block of recent.

Started by @rjen, April 25, 2021, 08:49:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

@rjen

Sample posting.

If this character & is included in the topic title, then on the block of recent posts this character is not displayed in the topic title, only &amp is displayed. This is a bug?

Referring to this:
https://www.simplemachines.org/community/index.php?topic=27642.msg4087377#msg4087377
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Not seeing this issue on my test sites so far. Did you manage to replicate it?

@rjen

Quote from: lurkalot on April 26, 2021, 07:28:36 AM
Not seeing this issue on my test sites so far. Did you manage to replicate it?

See the recent topics here...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Strange, I looked at this earlier and could have sworn it was ok. I see it now though.

tino

What does calling ssi_recentPosts directely show? I can't see any where we encode the entity.

@rjen

Running Latest TP on SMF2.1 at: www.fjr-club.nl

tino

What is this set to in the database? For me it's this;

Topic with & in it but it display's correctly on the page when rendering.

lurkalot

Quote from: tino on May 01, 2021, 06:48:20 PM
What is this set to in the database? For me it's this;

Topic with & in it but it display's correctly on the page when rendering.

You mean the messages table?  MyISAM   utf8_general_ci

lurkalot


tino

Quote from: lurkalot on May 01, 2021, 07:24:37 PM
And this is what's in the actual database.

Thanks, so it's not double encoded. It's definitely an entity thing. I'll dig a bit more but it's working ok here on my test installs.

This website is proudly hosted on Crocweb Cloud Website Hosting.