Correct directory comment printing
This commit is contained in:
1 parent
59f3a009fa
commit
b3c3e41706
1 file changed
+1
-1
@@ -481,7 +481,7 @@ write_collection_directory :: proc(w: io.Writer, collection: ^Collection) {
|
|||||||
line_doc, _, _ := strings.partition(str(child.pkg.docs), "\n")
|
line_doc, _, _ := strings.partition(str(child.pkg.docs), "\n")
|
||||||
line_doc = strings.trim_space(line_doc)
|
line_doc = strings.trim_space(line_doc)
|
||||||
io.write_string(w, `<td class="pkg-line pkg-line-doc">`)
|
io.write_string(w, `<td class="pkg-line pkg-line-doc">`)
|
||||||
if line_doc, ok := get_line_doc(dir.pkg); ok {
|
if line_doc, ok := get_line_doc(child.pkg); ok {
|
||||||
write_doc_line(w, line_doc)
|
write_doc_line(w, line_doc)
|
||||||
} else {
|
} else {
|
||||||
io.write_string(w, ` `)
|
io.write_string(w, ` `)
|
||||||
|
|||||||
Reference in new issue
Block a user