fix(ui): remove stray backslash left before the em dash in technique line
Aegis CI / lint-and-test (push) Has been cancelled
Snyk Security Scan / Python vulnerabilities (backend) (push) Has been cancelled
Snyk Security Scan / npm vulnerabilities (frontend) (push) Has been cancelled
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Has been cancelled
Aegis CI / lint-and-test (push) Has been cancelled
Snyk Security Scan / Python vulnerabilities (backend) (push) Has been cancelled
Snyk Security Scan / npm vulnerabilities (frontend) (push) Has been cancelled
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Has been cancelled
The previous fix for the literal '\u2014' JSX text bug only replaced the escape sequence with a real em dash but left the leading backslash character behind, so it rendered as '\—' instead of '—'.
This commit is contained in:
@@ -629,7 +629,7 @@ export default function TestDetailPage() {
|
||||
</span>
|
||||
{test.technique_name && (
|
||||
<span className="text-xs text-gray-400 group-hover:text-gray-300 transition-colors">
|
||||
\— {test.technique_name}
|
||||
— {test.technique_name}
|
||||
</span>
|
||||
)}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user