Bug#883745: packages.debian.org: unexpectedly render package desc in <pre> tag

Boyuan Yang <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <151262056859.9975.7935160166415485166.reportbug__48193.9183119268$1512620843$gmane$org@localhost>
Package: www.debian.org
Severity: normal

Take a look at https://packages.debian.org/sid/go-dep ,

The raw package description is:

Description: Go dependency management tool
 dep is a prototype dependency management tool for Go. It is the
 official experiment, but not yet the official tool.
 .
 dep is safe for production use. That means two things:
 * Any valid metadata file (`Gopkg.toml` and `Gopkg.lock`) will be
   readable and considered valid by any future version of dep.
 * Generally speaking, it has comparable or fewer bugs than other
   tools out there.

The rendered HTML format is:

<div id="pdesc" lang="en">

        <h2>Go dependency management tool</h2>
        <p>
dep is a prototype dependency management tool for Go. It is the
official experiment, but not yet the official tool.
<p>
dep is safe for production use. That means two things:
* Any valid metadata file (`Gopkg.toml` and `Gopkg.lock`) will be
<pre>
  readable and considered valid by any future version of dep.
</pre>
* Generally speaking, it has comparable or fewer bugs than other
<pre>
  tools out there.
</pre>


</div> <!-- end pdesc -->

I'm not sure if it is an undocumented feature or a bug.

Regards,
Boyuan Yang



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.