Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Fix markup for parameter descriptions in HTML output #156

Merged
merged 5 commits into from
Jul 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed regression that caused nodes in relationships graph
to not have links to their corresponding symbol documentation.
#153 by @mattt.
- Fixed markup for parameter descriptions in HTML output.
#156 by @mattt.

## [1.0.0-beta.3] - 2020-05-19

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ struct Documentation: Component {
type = nil
}

return (entry.name, type, entry.description)
return (entry.name, type, entry.content)
}

fragments.append(#"""
Expand All @@ -145,7 +145,7 @@ struct Documentation: Component {
return #"""
<tr>
<th>\#(softbreak(entry.name))</th>
\#(typeCell)</td>
\#(typeCell)
<td>\#(commonmark: entry.description)</td>
</tr>
"""# as HypertextLiteral.HTML
Expand Down