diff options
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r-- | mod/mod-package-version-details.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index 4e09c80..82221b4 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -184,13 +184,17 @@ handle (request& rq, response& rs) if (const optional<string>& d = pkg->description) { const string id ("description"); + const string what (title + " description"); s << (full - ? PRE_TEXT (*d, id) - : PRE_TEXT (*d, + ? DIV_TEXT (*d, *pkg->description_type, id, what, error) + : DIV_TEXT (*d, + *pkg->description_type, options_->package_description (), url (!full, id), - id)); + id, + what, + error)); } const repository_location& rl (pkg->internal_repository.load ()->location); |