Merge branch 'bugfix/3372-link' into develop

This commit is contained in:
Tom Zhao 2024-05-23 12:02:44 +02:00
commit a48dccc4cd

@ -27,7 +27,7 @@ public class SmarterLinkMultiLineLabel extends SmartLinkMultiLineLabel {
* with the addition of ";" to the accepted characters in the URL.
* This enables proper linking of escaped URLs.
*/
private static final String urlPattern = "([a-zA-Z]+://[\\w\\.\\-\\:\\/~]+)[\\w\\.:\\-/?&=%;]*";
private static final String urlPattern = "([a-zA-Z]+://[\\w\\.\\-\\:\\/~]+)[\\w\\.:\\-/?!&=%;]*";
private EscapedLinkParser() {
addLinkRenderStrategy(emailPattern, DefaultLinkParser.EMAIL_RENDER_STRATEGY);