mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 02:43:08 -05:00
Patch Ember to fix https://github.com/emberjs/ember.js/issues/9805
This commit is contained in:
@@ -10112,6 +10112,10 @@ enifed("ember-handlebars/string",
|
||||
@return {Handlebars.SafeString} a string that will not be html escaped by Handlebars
|
||||
*/
|
||||
function htmlSafe(str) {
|
||||
if (str === undefined || str === null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
if (typeof str !== 'string') {
|
||||
str = ''+str;
|
||||
}
|
||||
|
||||
@@ -9819,6 +9819,10 @@ enifed("ember-handlebars/string",
|
||||
@return {Handlebars.SafeString} a string that will not be html escaped by Handlebars
|
||||
*/
|
||||
function htmlSafe(str) {
|
||||
if (str === undefined || str === null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
if (typeof str !== 'string') {
|
||||
str = ''+str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user