mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
Fixed incorrectly escaped line breaks; fixed bad loop check
This commit is contained in:
@@ -29,6 +29,7 @@ import docking.actions.KeyBindingUtils;
|
||||
import ghidra.framework.plugintool.PluginConfigurationModel;
|
||||
import ghidra.framework.plugintool.util.PluginDescription;
|
||||
import ghidra.framework.plugintool.util.PluginStatus;
|
||||
import ghidra.util.HTMLUtilities;
|
||||
|
||||
/**
|
||||
* Panel that contains a JTextPane to show plugin description information.
|
||||
@@ -103,7 +104,7 @@ class PluginDetailsPanel extends AbstractDetailsPanel {
|
||||
insertHTMLString(buffer, dependencies.get(i).getPluginClass().getName(),
|
||||
dependencyAttrSet);
|
||||
if (i < dependencies.size() - 1) {
|
||||
insertHTMLString(buffer, "<BR>", dependencyAttrSet);
|
||||
buffer.append(HTMLUtilities.BR);
|
||||
}
|
||||
}
|
||||
insertHTMLLine(buffer, "", titleAttrSet); // add a newline
|
||||
@@ -122,8 +123,8 @@ class PluginDetailsPanel extends AbstractDetailsPanel {
|
||||
else {
|
||||
for (int i = 0; i < servicesRequired.size(); i++) {
|
||||
insertHTMLString(buffer, servicesRequired.get(i).getName(), dependencyAttrSet);
|
||||
if (i < dependencies.size() - 1) {
|
||||
insertHTMLString(buffer, "<BR>", dependencyAttrSet);
|
||||
if (i < servicesRequired.size() - 1) {
|
||||
buffer.append(HTMLUtilities.BR);
|
||||
}
|
||||
}
|
||||
insertHTMLLine(buffer, "", titleAttrSet); // add a newline
|
||||
@@ -136,7 +137,7 @@ class PluginDetailsPanel extends AbstractDetailsPanel {
|
||||
//
|
||||
//
|
||||
// Optional: Actions loaded by this plugin
|
||||
//
|
||||
//
|
||||
addLoadedActionsContent(buffer, descriptor);
|
||||
|
||||
buffer.append("</TABLE>");
|
||||
|
||||
Reference in New Issue
Block a user