[buddypress-trac] [BuddyPress Trac] #6517: bp_create_excerpt returning mall-formed markup - mb_strlen issues?

buddypress-trac noreply at wordpress.org
Wed Jun 24 17:49:00 UTC 2015


#6517: bp_create_excerpt returning mall-formed markup - mb_strlen issues?
------------------------------+---------------------------
 Reporter:  hnla              |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  2.3.3
Component:  Component - Core  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+---------------------------

Comment (by danbp):

 @boonebgorges,

 took my a while to sort this out, sorry for late answer.

 When you insert a long text, you should see an excerpt and [read more]
 button.

 when you insert Lorem Ipsum text, you got a correct excerpt output.

 When you insert a accented text like french, the whole excerpt is stripped
 and you see only ... [read more]

 See attached images.

 Pic 1 shows 3 activities.
 1) a correct excerpt in latin text.
 2) a correct text under the excert limit, in french
 3) the same text, but longer, but empty excerpt

 Pic 2 is the same activity, with the third activity deployed.

 You can reproduce that by inserting a long latin text.


 {{{
 Est @dan et velit dolores eos quasi expedita sed. Assumenda asperiores
 suscipit corrupti ut provident distinctio quia.

 Dolores enim qui repellendus natus. Earum voluptas est explicabo et. Neque
 at dolorum cumque. Beatae ipsa ratione quibusdam voluptates quibusdam, vel
 est necessitatibus voluptatem id. Porro deleniti doloremque quaerat

 in aut accusamus. Eligendi possimus similique nesciunt voluptas odio sed.
 Ab aut fuga voluptas quis illo. Eos ipsum est et eos amet tempore.
 }}}

 and a long french text

 {{{

 Toutes les connaissances que les hommes avaient mis sur Internet lui
 étaient accessible. Les grandes bibliothèques du monde entier n’avaient
 plus de secret pour lui. Il pouvait apprendre très vite, beaucoup plus
 vite que n’importe quel humain.
 Il avait appris toutes les connaissances du monde entier, visiter tout les
 pays. C’est lui qui avait fait en sorte qu’Internet se déploie ainsi.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6517#comment:26>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list