FIX: uses Unicode escape sequence for a standard double quote (#753)

Attempts to wrap format in standard ASCII double quotes (") and prevent the browser from substituting them with language-specific typographic quotes, such as the German „ (low-9) and “ (left double).
This commit is contained in:
Joffrey JAFFEUX 2025-06-25 11:33:52 +02:00 committed by GitHub
parent bdf8869a01
commit 6c5b8ba2bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export default class DiscoursePostEventDates extends Component {
const timeString =
this.hasTime(this.startsAt) || this.isSingleDayEvent ? " LT" : "";
return `'${dateString}${timeString}'`;
return `\u0022${dateString}${timeString}\u0022`;
}
get endsAtFormat() {