Skip to content

Commit

Permalink
improve escaping of multiple spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Jan 14, 2025
1 parent 99383b2 commit 27f83c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ android {
namespace "com.irccloud.android"

defaultConfig {
versionCode 365
versionCode 366
versionName "4.34"
minSdkVersion 26
targetSdkVersion 34
Expand Down
2 changes: 1 addition & 1 deletion src/com/irccloud/android/data/collection/EventsList.java
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ else if (event.has("nick"))
e.from = TextUtils.htmlEncode(e.from);

if (e.msg != null) {
e.msg = TextUtils.htmlEncode(e.msg).replace(" ", "  ");
e.msg = TextUtils.htmlEncode(e.msg).replace(" ", "  ");
if(e.msg.startsWith(" "))
e.msg = " " + e.msg.substring(1);
}
Expand Down

0 comments on commit 27f83c6

Please sign in to comment.