mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Fixed incorrectly escaped line breaks; fixed bad loop check
This commit is contained in:
parent
1539318b59
commit
6e6f2641e2
1 changed files with 5 additions and 4 deletions
|
@ -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>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue