Hi Guys
Never noticed this before - seems using the teaser contentpart - commas are stripped out of summary listing - is this the default?
Is there any way to change this
Thanks in advance for any pointer - - do need to have commas in summary - to enhance readability.
- jsw_nz -
Commas stripped out of teaser summary listing
- Oliver Georgi
- Site Admin
- Posts: 9889
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Commas stripped out of teaser summary listing
There is no comma stripping (or better should).
Re: Commas stripped out of teaser summary listing
Hi Oliver
I thought it strange - so not sure what is going on - I uploaded a series of screen shots
(installation is still on localhost - planning to upload next week)
Any ideas as to why this is going on - article detail shows comma - but teaser does not.
Cheers
John
I thought it strange - so not sure what is going on - I uploaded a series of screen shots
(installation is still on localhost - planning to upload next week)
Any ideas as to why this is going on - article detail shows comma - but teaser does not.
Cheers
John
- Oliver Georgi
- Site Admin
- Posts: 9889
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Commas stripped out of teaser summary listing
…have found the problem. Crazy — developers are really stupid I will fix that.
Oliver
Oliver
- Oliver Georgi
- Site Admin
- Posts: 9889
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Commas stripped out of teaser summary listing
Please try what happens if you change include/inc_lib/general.inc.php around line 1161 (inside the function getCleanSubString) from:
to
Code: Select all
$words = preg_split("/[\s,]+/", $cutString, -1, PREG_SPLIT_NO_EMPTY);
Code: Select all
$words = preg_split("/[\s]+/", $cutString, -1, PREG_SPLIT_NO_EMPTY);
Re: Commas stripped out of teaser summary listing
That did the trick!
Cheers OLIVER!
Cheers OLIVER!