[Resolved] bp_activity_add strips newline characters ?? Why?
I have bben using bp_activity_add to insert youtube videos into my activity stream. The problem is this function strips away the newline characters when inserted.
for example this is my content
$content = ‘Video \n http://youtube.com/watch?v=thtk89 \n watch it here’;
I get the string in the same line inserted in the php database
Any helps is appreciated. It seems crazy BP is stripping the tags
- The topic ‘[Resolved] bp_activity_add strips newline characters ?? Why?’ is closed to new replies.