Skip to content

Commit f8aa133

Browse files
Minor fixes suggested by copilot
Signed-off-by: James Ball <[email protected]>
1 parent 36b5d4c commit f8aa133

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/create_normative_rules.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def convert_nested(text)
661661
def convert_unconstrained(text)
662662
text = unconstrained_format_pattern(text, "*", recursive: true) { |content| "<b>#{content}</b>" }
663663
text = unconstrained_format_pattern(text, "_", recursive: true) { |content| "<i>#{content}</i>" }
664-
text = unconstrained_format_pattern(text, "`", recursive: true) { |content| "<code>#{content}</code>" }
664+
unconstrained_format_pattern(text, "`", recursive: true) { |content| "<code>#{content}</code>" }
665665
end
666666

667667
# Convert constrained bold, italics, monospaces notation.
@@ -670,7 +670,7 @@ def convert_unconstrained(text)
670670
def convert_constrained(text)
671671
text = constrained_format_pattern(text, "*", recursive: true) { |content| "<b>#{content}</b>" }
672672
text = constrained_format_pattern(text, "_", recursive: true) { |content| "<i>#{content}</i>" }
673-
text = constrained_format_pattern(text, "`", recursive: true) { |content| "<code>#{content}</code>" }
673+
constrained_format_pattern(text, "`", recursive: true) { |content| "<code>#{content}</code>" }
674674
end
675675

676676
# Convert superscript notation: 2^32^ -> 2<sup>32</sup>

0 commit comments

Comments
 (0)