diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-05-30 17:17:01 +0800 |
---|---|---|
committer | trasher <trasher@x-tnd.be> | 2010-05-31 01:48:48 +0800 |
commit | 1d6449169f711c536826006e3f45c3026643ec4f (patch) | |
tree | 5c567a8d4a777ced1ec05de228d224b2cd39145f | |
parent | 2d7743abe7aee9e71c6dd6ed722353ef948d3902 (diff) |
fix description display
-rw-r--r-- | pkgdb-ajax.php | 1 | ||||
-rw-r--r-- | scripts/rpmphp.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pkgdb-ajax.php b/pkgdb-ajax.php index 5cff16c..e2c6583 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){ |