mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-12 23:23:17 +00:00
Merge remote-tracking branch
'origin/GP-1137-dragonmacher-html-in-search-results' into patch (closes #3217)
This commit is contained in:
commit
ddb0dd06d9
@ -1134,7 +1134,8 @@ public final class ReferenceUtils {
|
||||
}
|
||||
|
||||
private static String emboldenBracketedText(String context) {
|
||||
String updated = fixBreakingSpaces(context);
|
||||
String escaped = HTMLUtilities.escapeHTML(context);
|
||||
String updated = fixBreakingSpaces(escaped);
|
||||
updated = updated.replaceFirst(CONTEXT_CALLOUT_START_REGEX, EMBOLDEN_START);
|
||||
updated = updated.replaceFirst(CONTEXT_CALLOUT_END_REGEX, EMBOLDEN_END);
|
||||
return "<html>" + updated;
|
||||
|
Loading…
Reference in New Issue
Block a user