Skip to content

Mutation operators do not work with version variables in code blocks and links #1605

@colleenmcginnis

Description

@colleenmcginnis

Describe the bug

Mutation operators do not work with version variables in code blocks.

Expected behavior

I'd expect {{version.stack | M.M}} to be replaced with 9.0 in code blocks with subs=true.

Steps to reproduce

Here's what I tried:

To get the manifests just run:

{{version.stack | M.M}}

```sh subs=true
curl -L -O https://raw.github.com/elastic/beats/{{version.stack | M.M}}/deploy/kubernetes/auditbeat-kubernetes.yaml
```

Rendered result:

Image

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions