Merge remote-tracking branch

'origin/GP-1137-dragonmacher-html-in-search-results' into patch (closes
#3217)
This commit is contained in:
ghidra1 2021-07-16 18:17:50 -04:00
commit ddb0dd06d9

View File

@ -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;