https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3d40a
)
Simplify about field conversion to plaintext in Protocol\Diaspora
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Mon, 24 Feb 2020 01:35:36 +0000
(20:35 -0500)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Mon, 24 Feb 2020 01:35:36 +0000
(20:35 -0500)
src/Protocol/Diaspora.php
patch
|
blob
|
history
diff --git
a/src/Protocol/Diaspora.php
b/src/Protocol/Diaspora.php
index
fd20991
..
1080a81
100644
(file)
--- a/
src/Protocol/Diaspora.php
+++ b/
src/Protocol/Diaspora.php
@@
-4135,8
+4135,7
@@
class Diaspora
$dob = DateTimeFormat::utc($year . '-' . $month . '-'. $day, 'Y-m-d');
}
- $about = $profile['about'];
- $about = strip_tags(BBCode::convert($about));
+ $about = BBCode::toPlaintext($profile['about']);
$location = Profile::formatLocation($profile);
$tags = '';