1
twitaman
Super Spotlight Apostrophes Quotation marks ' " How to fix
  • 2004/12/21 17:35

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I'm noticing that a lot of XOOPS modules have problems when apostrophes/quotation marks are used in the title description.

I know that Agenda-X will not even post an event if an apostrophe is used in an entry.

The next module that I've found to have a problem displaying quote marks in title entries is new Super Spotlight mod (seen with the guitar website).

When I type...
Quote:
People's Choice Awards


...in a News 1.21 title it displays as...
Quote:
People' S Choice Awards


...in Super Spotlight's Other News block. It adds a space and capitalizes the "S" and it's driving me NUTS!

How can this be fixed? And why do a lot of XOOPS modules have probles with quotation marks? ' " Is it some basic flaw in the core?

Any help would be greatly appreciated. Thanks.

2
Mithrandir
Re: Super Spotlight Apostrophes Quotation marks

It is not a basic flaw in the core, but inappropriate/inadequate use of text sanitation.

3
twitaman
Re: Super Spotlight Apostrophes Quotation marks
  • 2004/12/22 1:29

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I've been trying to solve the way some XOOPS modules tend to incorrectly display apostrophes all day. But I haven't had much luck.

I tried to use the new Super Spotlight 2.1 (used on the guitar site) but I gave up because when it pulled news items for the "other news" section it messed up displaying titles that utilized apostrophes. It inexplicably adds a space and capitalizes the "s" so that the titles appear as: People' S Choice Awards.

Even though the title is correctly listed in the News 1.21 module.

I installed the normal Spotlight 1.4 module and noticed that it does not have this problem. That's great, but I do like the layout of Super Spotlight 2.1 better. I was wondering why Spotlight 1.4 correctly displays the "other news" titles while the "new and improved" Super Spotlight 2.1 off-shoot does not?

OK so the reason some mods mess up is because they have incorrectly used "text sanitization." If that's the case then how do I fix the way Super Spotlight handles text sanitization?

If anybody knows, I'd love to know. Thanks so much for your time!

Login

Who's Online

353 user(s) are online (284 user(s) are browsing Support Forums)


Members: 0


Guests: 353


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits