Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12478 closed bug (invalid)

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

Reported by: zipp@… 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

Change History (3)

comment:1 Changed 7 years ago by zippes

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

comment:2 Changed 7 years ago by dmethvin

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.

comment:3 Changed 7 years ago by Rick Waldron

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

Note: See TracTickets for help on using tickets.