Skip to content

Commit 6336273

Browse files
committed
Remove redundant check
1 parent fb1fdf7 commit 6336273

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/testing/req.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ mapped_pages:
1212
stack: preview 9.0, ga 9.1
1313
```
1414

15+
1. Select **Create** to create a new policy, or select **Edit** {icon}`pencil` to open an existing policy.
16+
1. Select **Create** to create a new policy, or select **Edit** {icon}`logo_vulnerability_management` to open an existing policy.
17+
1518

1619
{applies_to}`stack: preview 9.0` This tutorial is based on Elasticsearch 9.0.
1720
This tutorial is based on Elasticsearch 9.0. This tutorial is based on Elasticsearch 9.0.

src/Elastic.Markdown/Myst/Roles/RoleParser.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ public override bool Match(InlineProcessor processor, ref StringSlice slice)
6565
if (!Matches(roleContent))
6666
return false;
6767

68-
// {role} has to be followed by `content`
69-
if ((uint)i >= (uint)span.Length || span[i] != '`')
70-
return false;
71-
7268
var openingBacktickPos = i;
7369
var contentStartPos = i + 1; // Skip the opening backtick
7470

0 commit comments

Comments
 (0)