u
This commit is contained in:
		
							parent
							
								
									27cc887045
								
							
						
					
					
						commit
						612f8ed85e
					
				| @ -348,8 +348,8 @@ module.exports = { | |||||||
|       return ( |       return ( | ||||||
|         story |         story | ||||||
|           .map(({ text = '' } = {}) => { |           .map(({ text = '' } = {}) => { | ||||||
|             if (typeof text === 'string') return text.trim?.()?.replace?.(/\n/g, ' ') |             if (typeof text === 'string') return text.trim?.()?.replace?.(/\n+/g, ' ') | ||||||
|             else if (typeof text === 'object') return text[lang]?.trim?.()?.replace?.(/\n/g, ' ') |             else if (typeof text === 'object') return text[lang]?.trim?.()?.replace?.(/\n+/g, ' ') | ||||||
|           }) |           }) | ||||||
|           ?.join(' ') |           ?.join(' ') | ||||||
|           ?.trim?.() |           ?.trim?.() | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user