You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the generated @default-tag-issue/doc/CSS.html file in vim (or some other editor)
Using vim, enter :g/.<\/div$, or type .<\/div$ into your editor's search box with regular expressions activated
There will be 4 matches, around lines 146, 220, 294, 368 (see screenshots below)
Expected behavior
@default metadata should render as valid HTML.
For now, the problem can be fixed by removing all @default and @defaultvalue tags from the JSDoc markup; users should be advised not to use these tags until the bug is patched.
Screenshots
Using the @default tag . . .
. . . produces HTML like this:
. . . in every place where the @default tag is encountered:
. . . which breaks the layout:
Desktop
OS: Debian Buster 10.5
Browser Firefox
Version 82.0.3
clean-jsdoc-theme version 2.2.13
Additional context
it behaves the same with the @defaultvaluealternative tag as with @default
same results using the light or dark theme
The text was updated successfully, but these errors were encountered:
Describe the bug
When a member has a
@default
or@defaultvalue
tag, the closingdiv
of the HTML description is malformed (specifically, it looks like this:</div
)To Reproduce
npm i && npm run doc:issue
@default-tag-issue/doc/CSS.html
file in vim (or some other editor):g/.<\/div$
, or type.<\/div$
into your editor's search box with regular expressions activated146
,220
,294
,368
(see screenshots below)Expected behavior
@default
metadata should render as valid HTML.For now, the problem can be fixed by removing all
@default
and@defaultvalue
tags from the JSDoc markup; users should be advised not to use these tags until the bug is patched.Screenshots
Using the
@default
tag . . .. . . produces HTML like this:
. . . in every place where the
@default
tag is encountered:. . . which breaks the layout:
Desktop
clean-jsdoc-theme
version 2.2.13Additional context
@defaultvalue
alternative tag as with@default
light
ordark
themeThe text was updated successfully, but these errors were encountered: