diff options
author | Matteo Mara <matteo.mara@sonarsource.com> | 2024-03-08 18:08:49 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-03-16 20:02:46 +0000 |
commit | 4592d635902de23b402a28787a8468ba1ac3a3a4 (patch) | |
tree | 2561ce21fbcd2fb14f77daa1e28f32b815291f1e /sonar-markdown | |
parent | 4f2cb04c5da8b5b07c459afdb6d777b29db779b5 (diff) | |
download | sonarqube-4592d635902de23b402a28787a8468ba1ac3a3a4.tar.gz sonarqube-4592d635902de23b402a28787a8468ba1ac3a3a4.zip |
SONAR-21452 move from commons-lang:commons-lang to org.apache.commons:commons-lang3
Diffstat (limited to 'sonar-markdown')
-rw-r--r-- | sonar-markdown/build.gradle | 2 | ||||
-rw-r--r-- | sonar-markdown/src/main/java/org/sonar/markdown/Markdown.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sonar-markdown/build.gradle b/sonar-markdown/build.gradle index 714a4651345..4e7c2fc790c 100644 --- a/sonar-markdown/build.gradle +++ b/sonar-markdown/build.gradle @@ -7,7 +7,7 @@ sonar { dependencies { // please keep list ordered - api 'commons-lang:commons-lang' + api 'org.apache.commons:commons-lang3' api 'org.codehaus.sonar:sonar-channel' testImplementation 'ch.qos.logback:logback-classic' diff --git a/sonar-markdown/src/main/java/org/sonar/markdown/Markdown.java b/sonar-markdown/src/main/java/org/sonar/markdown/Markdown.java index 5cc06455e52..9431f9c61e5 100644 --- a/sonar-markdown/src/main/java/org/sonar/markdown/Markdown.java +++ b/sonar-markdown/src/main/java/org/sonar/markdown/Markdown.java @@ -19,7 +19,7 @@ */ package org.sonar.markdown; -import org.apache.commons.lang.StringEscapeUtils; +import org.apache.commons.lang3.StringEscapeUtils; import org.sonar.channel.ChannelDispatcher; import org.sonar.channel.CodeReader; @@ -54,6 +54,6 @@ public final class Markdown { } public static String convertToHtml(String input) { - return new Markdown().convert(StringEscapeUtils.escapeHtml(input)); + return new Markdown().convert(StringEscapeUtils.escapeHtml4(input)); } } |