|
|
@@ -672,7 +672,7 @@ Writer.prototype.rawValue = function rawValue (token) { |
|
|
|
}; |
|
|
|
|
|
|
|
Writer.prototype.getConfigTags = function getConfigTags (config) { |
|
|
|
if (Array.isArray(config)) { |
|
|
|
if (isArray(config)) { |
|
|
|
return config; |
|
|
|
} |
|
|
|
else if (config && typeof config === 'object') { |
|
|
@@ -684,7 +684,7 @@ Writer.prototype.getConfigTags = function getConfigTags (config) { |
|
|
|
}; |
|
|
|
|
|
|
|
Writer.prototype.getConfigEscape = function getConfigEscape (config) { |
|
|
|
if (config && typeof config === 'object' && !Array.isArray(config)) { |
|
|
|
if (config && typeof config === 'object' && !isArray(config)) { |
|
|
|
return config.escape; |
|
|
|
} |
|
|
|
else { |
|
|
|