Skip to main content

Bug Tracker

Side navigation

#12478 closed bug (invalid)

Opened September 06, 2012 05:19PM UTC

Closed September 06, 2012 08:24PM UTC

Last modified September 06, 2012 08:27PM UTC

Extra characters at junction of 'display' and 'non-display' when selecting MORE.

Reported by: zipp@pobox.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

Greetings,

Using ‘jquery-latest.js’, trying to create the ‘shortening’ (more/less) for text, displaying 115 characters.

Refer to : http://test.executivecaliber.com/moreless.htm for my test page, you can see at the junction of the displayed vs. no-displayed when you click MORE.

Paragraph one: “work” becomes “work..”

Paragraph two: “Moroc…” becomes “Moroc cco”

Etc.

If I should be using a different jquery script… please let me know.

Thank you,

Eric S. Zipp

Attachments (0)
Change History (3)

Changed September 06, 2012 08:04PM UTC by zippes comment:1

Version jquery-1.8.1.min.js seems to have the same effect.

Changed September 06, 2012 08:24PM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

This sounds like a plugin issue, which means it should be handled by he plugin author. Or you could ask for help on the forum or StackOverflow.

Changed September 06, 2012 08:27PM UTC by rwaldron comment:3

In this case, those "nbsp" entities created your problem. Also, your substr length was wrong. http://jsfiddle.net/rwaldron/zZvNM/