summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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){