Fortran-FOSS-Programmers / ford

Automatically generates FORtran Documentation from comments within the code.
https://forddocs.readthedocs.io
GNU General Public License v3.0
402 stars 131 forks source link

HTML encoding non-breaking spaces in parameter initial values #605

Closed interkosmos closed 7 months ago

interkosmos commented 7 months ago

If a parameter string in a module contains more than one white space character in succession, the spaces are converted to (literal)  . For example, the following character string value:

character(len=*), parameter, public :: FOOBAR = 'foo   bar'

is displayed in the HTML of the module as 'foo   bar'. As it seems, & is HTML-encoded twice here.

I’m using FORD 7.0.3.