Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit a3dc8cc

Browse files
starpitk8s-ci-robot
authored andcommitted
fix(plugins/plugin-client-common): "quiet" markdown kui command execution links show the internal "quiet" part
part of #7698
1 parent 1e74b8f commit a3dc8cc

File tree

1 file changed

+3
-2
lines changed
  • plugins/plugin-client-common/src/components/Content

1 file changed

+3
-2
lines changed

plugins/plugin-client-common/src/components/Content/Markdown.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ export default class Markdown extends React.PureComponent<Props> {
202202
return <span className={this.props.className}>{props.href}</span>
203203
} else {
204204
const tip = isKuiCommand
205-
? `### Command Execution\n#### ${decodeURI(
206-
props.href.slice(props.href.indexOf('=') + 1)
205+
? `### Command Execution\n#### ${decodeURI(props.href.slice(props.href.indexOf('=') + 1)).replace(
206+
'&quiet',
207+
''
207208
)}\n\n\`Link will execute a command\``
208209
: `### External Link\n#### ${props.href}\n\n\`Link will open in a separate window\``
209210

0 commit comments

Comments
 (0)