We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cc83f8 commit 3bc2345Copy full SHA for 3bc2345
src/Elastic.Markdown/Myst/InlineParsers/HeadingBlockWithSlugParser.cs
@@ -34,11 +34,9 @@ public partial class HeadingBlockWithSlugParser : HeadingBlockParser
34
private static readonly Regex IconSyntax = IconParser.IconRegex();
35
private static readonly Regex AppliesToSyntax = AppliesToSyntaxRegex();
36
37
- private static string StripAppliesToAnnotations(string text)
38
- {
+ private static string StripAppliesToAnnotations(string text) =>
39
// Remove applies_to inline annotations from the text
40
- return AppliesToSyntax.Replace(text, "").Trim();
41
- }
+ AppliesToSyntax.Replace(text, "").Trim();
42
43
[GeneratedRegex(@"\{applies_to\}`[^`]*`", RegexOptions.Compiled)]
44
private static partial Regex AppliesToSyntaxRegex();
0 commit comments