mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2026-08-18 02:51:58 +00:00
Fixed incorrect group used in Utils.parseRedditImagesBlock when matching i.redd.it media.
This commit is contained in:
@ -175,7 +175,7 @@ public final class Utils {
|
||||
markdownStringBuilder.replace(previewReddItAndIReddItImageMatcher.start(), previewReddItAndIReddItImageMatcher.end(), replacingText);
|
||||
start = replacingText.length() + previewReddItAndIReddItImageMatcher.start();
|
||||
}
|
||||
} else if (previewReddItAndIReddItImageMatcher.group(2) != null) {
|
||||
} else if (previewReddItAndIReddItImageMatcher.group(5) != null) {
|
||||
String id = previewReddItAndIReddItImageMatcher.group(8);
|
||||
String caption = previewReddItAndIReddItImageMatcher.group(6);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user