nasa / ogma

Generator of runtime monitors for flight and robotics applications.
Other
335 stars 25 forks source link

`ogma-cli`: Rendering of description of Cabal file displays quotes incorrectly #72

Closed ivanperez-keera closed 1 year ago

ivanperez-keera commented 1 year ago

Description

The description in the cabal file contains two entries with double quotes in the tiles of links. Those double quotes are not displayed correctly on hackage: instead of appearing as ", they are shown as ".

Type

Additional context

None.

Requester

Method to check presence of bug

The following command shows that there are " present in the documentation:

$ cd ogma-cli
$ cabal v1-sandbox init
$ cabal v1-install --only-dependencies
$ cabal v1-haddock
$ grep -oe '"' dist/doc/html/ogma-cli/ogma/index.html

Visualizing the file using a browser displays:

"Copilot 3", Perez, Dedden and Goodloe. 2020.
"From Requirements to Autonomous Flight", Dutle et al. 2020.

when it should display:

"Copilot 3", Perez, Dedden and Goodloe. 2020.
"From Requirements to Autonomous Flight", Dutle et al. 2020.

Expected result

The grep command above should show no results, indicating that the symbol " is not produced in the HTML output.

Desired result

The grep command above should show no results, indicating that the symbol " is not produced in the HTML output.

Proposed solution

Modify the links to use the correct haddock syntax for double quotes inside links.

Further notes

None.

ivanperez-keera commented 1 year ago

Change Manager: Confirmed that the issue exists.

ivanperez-keera commented 1 year ago

Technical Lead: Confirmed that the issue should be addressed.

ivanperez-keera commented 1 year ago

Technical Lead: Issue scheduled for Ogma 1.(0+X).(8+Y).

Fix assigned to: @ivanperez-keera.

ivanperez-keera commented 1 year ago

Implementor: Solution implemented, review requested.

ivanperez-keera commented 1 year ago

Change Manager: Verified that:

ivanperez-keera commented 1 year ago

Change Manager: Implementation ready to be merged.