mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Fix brackets not being escaped properly in descriptions
Signed-off-by: BuildTools <[email protected]>
This commit is contained in:
1 parent
06754c88a4
commit
280a37ef5b
7 files changed
+14
-14
No files matched your search
@@ -163,7 +163,7 @@ public class EditHomeCommand extends CommandBase implements TabCompleter {
|
||||
}
|
||||
|
||||
// Confirmation message
|
||||
MessageManager.sendMessage(p, "edit_home_update_description", homeName, MineDown.escape(newDescriptionString));
|
||||
MessageManager.sendMessage(p, "edit_home_update_description", homeName, MineDown.escape(newDescriptionString.replace("]", "]").replace("[", "[").replace("(", "❲").replace(")", "❳")));
|
||||
} catch (SQLException e) {
|
||||
plugin.getLogger().log(Level.SEVERE, "An SQL exception occurred editing a home description.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user