diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/manif.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/manif.lua b/src/luarocks/manif.lua index 5f4e60a9..818f4c57 100644 --- a/src/luarocks/manif.lua +++ b/src/luarocks/manif.lua | |||
| @@ -370,7 +370,7 @@ local index_package_start = [[ | |||
| 370 | <td class="package"> | 370 | <td class="package"> |
| 371 | <p><a name="$anchor"></a><b>$package</b> - $summary<br/> | 371 | <p><a name="$anchor"></a><b>$package</b> - $summary<br/> |
| 372 | </p><blockquote><p>$detailed<br/> | 372 | </p><blockquote><p>$detailed<br/> |
| 373 | <font size="-1"><a href="$original">latest sources</a> | <a href="$homepage">project homepage</a> | License: $license</font></p> | 373 | <font size="-1"><a href="$original">latest sources</a> $homepage | License: $license</font></p> |
| 374 | </blockquote></a></td> | 374 | </blockquote></a></td> |
| 375 | <td class="version"> | 375 | <td class="version"> |
| 376 | ]] | 376 | ]] |
| @@ -428,7 +428,7 @@ function make_index(repo) | |||
| 428 | summary = rockspec.description.summary or "", | 428 | summary = rockspec.description.summary or "", |
| 429 | detailed = rockspec.description.detailed or "", | 429 | detailed = rockspec.description.detailed or "", |
| 430 | license = rockspec.description.license or "N/A", | 430 | license = rockspec.description.license or "N/A", |
| 431 | homepage = rockspec.description.homepage or "" | 431 | homepage = rockspec.description.homepage and ("| <a href="..rockspec.description.homepage..">project homepage</a>") or "" |
| 432 | } | 432 | } |
| 433 | vars.detailed = vars.detailed:gsub("\n\n", "</p><p>"):gsub("%s+", " ") | 433 | vars.detailed = vars.detailed:gsub("\n\n", "</p><p>"):gsub("%s+", " ") |
| 434 | output = output:gsub("$(%w+)", vars) | 434 | output = output:gsub("$(%w+)", vars) |
