Skip to content

Commit 7dc79ef

Browse files
committed
fix(runner): escape <errors> in results log help to prevent VitePress build error
The `--execution-messages` help text contained a raw `<errors>` tag that VitePress' Vue parser interpreted as an unclosed HTML element, breaking the generated `cli.md` docs page. Wrap it in backticks so it renders as inline code and is ignored by the template compiler.
1 parent cf67abf commit 7dc79ef

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • docs/03_reference
  • packages/runner/src/robotcode/runner/cli/results

docs/03_reference/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ robotcode analyze code [OPTIONS] [PATHS]...
477477

478478
- `-f, --filter PATTERN *`
479479

480-
Glob pattern to filter files to analyze. Can be specified multiple times.
480+
Glob pattern to filter files to analyze. Can be specified multiple times.
481481

482482

483483
- `-v, --variable name:value *`
@@ -1848,7 +1848,7 @@ robotcode results log [OPTIONS] [TEST_PATTERNS]...
18481848

18491849
- `--execution-messages / --no-execution-messages`
18501850

1851-
Also show parser/discovery messages from output.xml's <errors> section (deduplicated). [default: no-execution-messages]
1851+
Also show parser/discovery messages from output.xml's `<errors>` section (deduplicated). [default: no-execution-messages]
18521852

18531853

18541854
- `-o, --output PATH`

packages/runner/src/robotcode/runner/cli/results/results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def show(
407407
"show_execution_messages",
408408
default=False,
409409
show_default=True,
410-
help=("Also show parser/discovery messages from output.xml's <errors> section (deduplicated)."),
410+
help=("Also show parser/discovery messages from output.xml's `<errors>` section (deduplicated)."),
411411
)
412412
@add_options(OUTPUT_OPTION)
413413
@pass_application

0 commit comments

Comments
 (0)