File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,18 @@ Module Index.
7272 let (name, versions) := package in
7373 match List.rev versions with
7474 | [] => LString.s ""
75- | last_version :: _ => LString.s
75+ | last_version :: _ =>
76+ let description := LString.split (Version.description last_version) (LString.Char.n) in
77+ let description :=
78+ match description with
79+ | [] => LString.s ""
80+ | description :: _ => description
81+ end in
82+ LString.s
7683" <tr>
7784 <td><a href=""./" ++ name ++ LString.s "." ++ Version.version last_version ++ LString.s ".html"">" ++ LString.escape_html name ++ LString.s "</a></td>
7885 <td>" ++ LString.escape_html (Version.version last_version) ++ LString.s "</td>
79- <td>" ++ LString.escape_html (Version. description last_version) ++ LString.s "</td>
86+ <td>" ++ LString.escape_html description ++ LString.s "</td>
8087 </tr>
8188"
8289 end .
@@ -98,7 +105,7 @@ Module Index.
98105 </tr>
99106 </thead>
100107 <tbody>
101- " ++ LString.join [] (List.map row packages) ++ LString.s
108+ " ++ LString.join (LString.s "") (List.map row packages) ++ LString.s
102109" </tbody>
103110 </table>
104111".
You can’t perform that action at this time.
0 commit comments