www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23984] New: DDoc can hyphenate variable names, leading to

https://issues.dlang.org/show_bug.cgi?id=23984

          Issue ID: 23984
           Summary: DDoc can hyphenate variable names, leading to
                    ambiguity
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: qigezx+dc40d6nao940k grr.la

Created attachment 1881
  --> https://issues.dlang.org/attachment.cgi?id=1881&action=edit
Example of Hyphennation creating possible confusion in process.spawnProcess

On some screen resolutions, variable-names in HTML generated by DDoc might get
hyphenated. This is problematic because the reader might think that the hyphen
is part of the name.

The css property `white-space: nowrap;` might help.

--
Jun 10 2023