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:
parent
bdf8869a01
commit
6c5b8ba2bb
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue