Skip to content

Ghidra is a software reverse engineering (SRE) framework

Fixed incorrect html rendering

dragonmacher9db6c7c88621
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionEditorModel.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionEditorModel.java
index e8506dd903..dc9d14383f 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionEditorModel.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionEditorModel.java
@@ -33,7 +33,7 @@ import ghidra.util.exception.*;
public class FunctionEditorModel {
public static final String PARSING_MODE_STATUS_TEXT =
- "<TAB> or <RETURN> to commit edits, <ESC> to abort";
+ HTMLUtilities.escapeHTML("<TAB> or <RETURN> to commit edits, <ESC> to abort");
static final String NONE_CHOICE = "-NONE-";
private String name;
@@ -641,9 +641,9 @@ public class FunctionEditorModel {
returnInfo.getFormalDataType(), storage);
try {
if (autoParamCount < oldAutoCount) {
- if (oldParams.get(
- autoParamCount).getStorage().getAutoParameterType() != storage
- .getAutoParameterType()) {
+ if (oldParams.get(autoParamCount)
+ .getStorage()
+ .getAutoParameterType() != storage.getAutoParameterType()) {
adjustSelectionForRowRemoved(i);
}
}