Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #78

Merged
merged 7 commits into from
Apr 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove escaping from the API
  • Loading branch information
ottenhoff committed Apr 10, 2024
commit eb31ea33150978aadd4df5067e2d1a34f3a2a236
4 changes: 0 additions & 4 deletions api/pom.xml
Original file line number Diff line number Diff line change
@@ -35,10 +35,6 @@
<groupId>org.sakaiproject.search</groupId>
<artifactId>search-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Original file line number Diff line number Diff line change
@@ -20,7 +20,6 @@
import java.util.Date;
import java.util.Stack;

import org.apache.commons.lang3.StringEscapeUtils;
import org.sakaiproject.clog.api.ClogManager;
import org.sakaiproject.clog.api.cover.SakaiProxy;
import org.sakaiproject.entity.api.Entity;
@@ -68,8 +67,7 @@ public void setContent(String text, boolean modified) {
if (!this.content.equals(text) && modified) {
modifiedDate = new Date().getTime();
}

this.content = StringEscapeUtils.unescapeHtml4(text.trim());
this.content = text;
}

public String getContent() {