summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-08-30 22:17:54 +0200
committerRobin Appelman <icewind@owncloud.com>2012-08-30 22:17:54 +0200
commitb5234a4f34def2087f6d39c50bf567359689bac0 (patch)
treea25c900933518e1199590634f36c937560044092 /lib
parent7027742bd64b233370e3b063b6c3390815fd24d3 (diff)
downloadnextcloud-server-b5234a4f34def2087f6d39c50bf567359689bac0.tar.gz
nextcloud-server-b5234a4f34def2087f6d39c50bf567359689bac0.zip
allow html inside app descriptions
Diffstat (limited to 'lib')
-rwxr-xr-xlib/app.php3
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;
}