Skip to content

Commit

Permalink
Accept uptick character as html cid delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrussler committed May 31, 2024
1 parent a0439a6 commit 2e13b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mimeparser/MimeMessageConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class MimeMessageConverter {
private static final Pattern HTML_META_CHARSET_REGEX = Pattern.compile(
"(<meta(?!\\s*(?:name|value)\\s*=)[^>]*?charset\\s*=[\\s\"']*)([^\\s\"'/>]*)", Pattern.DOTALL);

private static final Pattern IMG_CID_REGEX = Pattern.compile("cid:(.*?)\"", Pattern.DOTALL);
private static final Pattern IMG_CID_REGEX = Pattern.compile("cid:(.*?)[\"']", Pattern.DOTALL);
private static final Pattern IMG_CID_PLAIN_REGEX = Pattern.compile("\\[cid:(.*?)\\]", Pattern.DOTALL);

private static final String VIEWPORT_SIZE = "2480x3508";
Expand Down

0 comments on commit 2e13b16

Please sign in to comment.