File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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>
You can’t perform that action at this time.
0 commit comments