diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-08-30 22:17:54 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-08-30 22:17:54 +0200 |
commit | b5234a4f34def2087f6d39c50bf567359689bac0 (patch) | |
tree | a25c900933518e1199590634f36c937560044092 /lib | |
parent | 7027742bd64b233370e3b063b6c3390815fd24d3 (diff) | |
download | nextcloud-server-b5234a4f34def2087f6d39c50bf567359689bac0.tar.gz nextcloud-server-b5234a4f34def2087f6d39c50bf567359689bac0.zip |
allow html inside app descriptions
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/app.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php index 5c0ec2f01ef..006599e7dfc 100755 --- a/lib/app.php +++ b/lib/app.php @@ -437,6 +437,9 @@ class OC_App{ foreach($child->children() as $type){ $data['types'][]=$type->getName(); } + }elseif($child->getName()=='description'){ + $xml=(string)$child->asXML(); + $data[$child->getName()]=substr($xml,13,-14);//script <description> tags }else{ $data[$child->getName()]=(string)$child; } |