Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
vsch committed Apr 28, 2023
2 parents a9d2170 + 31f984d commit f2206e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.util.regex.Pattern;

public class ResizableImageInlineParserExtension implements InlineParserExtension {
final public static Pattern IMAGE_PATTERN = Pattern.compile("\\!\\[(\\S*)\\]\\((\\S*)\\s*=*(\\d*)x*(\\d*)\\)",
final public static Pattern IMAGE_PATTERN = Pattern.compile("\\!\\[([^\\s\\]]*)]\\(([^\\s\\]]+)\\s*=*(\\d*)x*(\\d*)\\)",
Pattern.CASE_INSENSITIVE);

public ResizableImageInlineParserExtension(LightInlineParser inlineParser) {
Expand Down

0 comments on commit f2206e5

Please sign in to comment.