summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-05-30 11:17:01 +0200
committerRemi Collet <fedora@famillecollet.com>2010-05-30 11:17:01 +0200
commitb613aa3f99a51e08b16b4402de2b684d3f266b66 (patch)
tree0c08ffbaf42c7524f61c26f44ccebc7c6dd4976c
parent2ea957b9a17d6b938e44dff4bef0f9d077036b9f (diff)
fix description display
-rw-r--r--pkgdb-ajax.php1
-rw-r--r--scripts/rpmphp.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/pkgdb-ajax.php b/pkgdb-ajax.php
index c02e68d..b92a5c4 100644
--- a/pkgdb-ajax.php
+++ b/pkgdb-ajax.php
@@ -41,6 +41,7 @@ if ( !isset($name) || !$name ) {
);
}
$fedpkg[$k]['people'] = $new_people;
+ $fedpkg[$k]['package']['description'] = nl2br($fedpkg[$k]['package']['description']);
}
}
}
diff --git a/scripts/rpmphp.js b/scripts/rpmphp.js
index 7898986..7dfe0b5 100644
--- a/scripts/rpmphp.js
+++ b/scripts/rpmphp.js
@@ -7,7 +7,7 @@ function initZoomJS(name)
if ( data.error ) {
alert(data.error);
} else {
- $('#' + name + '_desc').empty().text(data.devel.package.description);
+ $('#' + name + '_desc').empty().html(data.devel.package.description);
$.each(
data,
function(k, v){