-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(api-docs): strip empty HTML comments from markdown exports #17992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,10 +20,9 @@ function Params({params}) { | |
| <Fragment key={param.name}> | ||
| <dt> | ||
| <div> | ||
| <code data-index>{param.name}</code> | ||
| <code data-index>{param.name}</code>{' '} | ||
| {!!param.schema?.type && ( | ||
| <em> | ||
| {' '} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unconditional trailing space when schema type is missingLow Severity The Reviewed by Cursor Bugbot for commit 9d48e59. Configure here. |
||
| ({param.schema.type} | ||
| {param.schema.items && `(${param.schema.items.type})`}) | ||
| </em> | ||
|
|
||


Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like this extra space in the
<em>was getting rendered as , so moving this lets us go from:*status* <!-- -->(<!-- -->string<!-- -->)*to
status(string)