[buddypress-trac] [BuddyPress Trac] #6790: Backslashes get lost in activity stream

buddypress-trac noreply at wordpress.org
Tue Dec 22 23:35:29 UTC 2015


#6790: Backslashes get lost in activity stream
--------------------------+-----------------------------
 Reporter:  antonv        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  API           |    Version:  2.4.0
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi

 1. in the bbpress forum I wrote following text:
 {{{
 a new bbPress test $a=b\cos\alpha$
 }}}


 2. but this gets displayed in the activity log as
 {{{
 a new bbPress test $a=bcosalpha$
 }}}


 3. However when I post the same (1.) in buddypress activity log, it is
 displayed correctly.

 Looking into the the databases it becomes clear why
 Text from bbPress Forum is stored in wp_bp_activity as
 {{{
 a new bbPress test $a=b\cos\alpha$
 }}}

 whereas text entered on the activity log is stored in wp_bp_activity as
 {{{
 a new ActivityLog test $a=b\\cos\\alpha$
 }}}
 although typed with only one \ and subsequently also rendered with a
 single backslash

 Can you please issue an update, or tell me what file to modify and what,
 that correctly inserts the extra slashes to forums and comment activity so
 that the text copied from forum to the activity is rendered correctly in
 the buddyPress activity log.

 (buddyPress version is 2.4.3)

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6790>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list