diff options
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/main/java/com/google/gwtexpui/safehtml/client/SafeHtml.java | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -21,7 +21,7 @@ limitations under the License. <groupId>gwtexpui</groupId> <artifactId>gwtexpui</artifactId> <packaging>jar</packaging> - <version>1.2.3</version> + <version>1.2.4</version> <name>gwtexpui</name> <description>Extended UI tools for GWT</description> <url>http://android.git.kernel.org/?p=tools/gwtexpui.git</url> diff --git a/src/main/java/com/google/gwtexpui/safehtml/client/SafeHtml.java b/src/main/java/com/google/gwtexpui/safehtml/client/SafeHtml.java index 5878ec0..32d9a78 100644 --- a/src/main/java/com/google/gwtexpui/safehtml/client/SafeHtml.java +++ b/src/main/java/com/google/gwtexpui/safehtml/client/SafeHtml.java @@ -111,7 +111,7 @@ public abstract class SafeHtml { /** Convert bare http:// and https:// URLs into <a href> tags. */ public SafeHtml linkify() { final String part = "(?:" + - "[a-zA-Z0-9$_.+!*',%;:@=?#/-]" + + "[a-zA-Z0-9$_.+!*',%;:@=?#/-~]" + "|&(?!lt;|gt;)" + ")"; return replaceAll( |