fix: restore legacy gameplay messages and record details
This commit is contained in:
@@ -33,6 +33,7 @@ const safeSpanClasses = new Set([
|
||||
'war_type_attack',
|
||||
'war_type_defense',
|
||||
'war_type_siege',
|
||||
'hidden_but_copyable',
|
||||
]);
|
||||
|
||||
const escapeText = (value: string): string =>
|
||||
|
||||
@@ -39,6 +39,9 @@ describe('formatLegacyLogHtml', () => {
|
||||
expect(formatLegacyLogHtml('<span class="unknown">미허용</span>')).toBe(
|
||||
'<span class="unknown">미허용</span>'
|
||||
);
|
||||
expect(formatLegacyLogHtml('<span class="hidden_but_copyable">(전투시드: fixed-seed)</span>')).toBe(
|
||||
'<span class="hidden_but_copyable">(전투시드: fixed-seed)</span>'
|
||||
);
|
||||
});
|
||||
|
||||
it('keeps the fixed hex color form emitted by flag-change logs but rejects other inline CSS', () => {
|
||||
|
||||
Reference in New Issue
Block a user