Explorar o código

set default value to ""

Former-commit-id: cb02dbcc8d637c049f9670932658021d51bb3b17
Gildas %!s(int64=5) %!d(string=hai) anos
pai
achega
627621fb89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/single-file/single-file-helper.js

+ 1 - 1
lib/single-file/single-file-helper.js

@@ -312,7 +312,7 @@ this.singlefile.lib.helper = this.singlefile.lib.helper || (() => {
 		}
 	}
 
-	function normalizeFontFamily(fontFamilyName) {
+	function normalizeFontFamily(fontFamilyName = "") {
 		return removeQuotes(singlefile.lib.vendor.cssUnescape.process(fontFamilyName.trim())).toLowerCase();
 	}