| @@ -119,9 +119,7 @@ namespace Discord.Rest | |||||
| if (blockMatch.Success) | if (blockMatch.Success) | ||||
| { | { | ||||
| if (EnclosedInBlock(blockMatch)) | if (EnclosedInBlock(blockMatch)) | ||||
| { | |||||
| return true; | return true; | ||||
| } | |||||
| // continue if the end of the current code was before the start of the tag | // continue if the end of the current code was before the start of the tag | ||||
| codeIndex += blockMatch.Groups[2].Index + blockMatch.Groups[2].Length; | codeIndex += blockMatch.Groups[2].Index + blockMatch.Groups[2].Length; | ||||
| if (codeIndex < index) | if (codeIndex < index) | ||||
| @@ -132,9 +130,7 @@ namespace Discord.Rest | |||||
| if (inlineMatch.Success) | if (inlineMatch.Success) | ||||
| { | { | ||||
| if (EnclosedInBlock(inlineMatch)) | if (EnclosedInBlock(inlineMatch)) | ||||
| { | |||||
| return true; | return true; | ||||
| } | |||||
| // continue if the end of the current code was before the start of the tag | // continue if the end of the current code was before the start of the tag | ||||
| codeIndex += inlineMatch.Groups[2].Index + inlineMatch.Groups[2].Length; | codeIndex += inlineMatch.Groups[2].Index + inlineMatch.Groups[2].Length; | ||||
| if (codeIndex < index) | if (codeIndex < index) | ||||