Fix bug for Mastodon(?)
This commit is contained in:
		
							parent
							
								
									1edfce8f73
								
							
						
					
					
						commit
						54dcc10250
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -4,7 +4,7 @@ import parse from '../../../mfm/parse';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default function(note: INote) {
 | 
					export default function(note: INote) {
 | 
				
			||||||
	let html = toHtml(parse(note.text), note.mentionedRemoteUsers);
 | 
						let html = toHtml(parse(note.text), note.mentionedRemoteUsers);
 | 
				
			||||||
	if (html == null) html = '';
 | 
						if (html == null) html = '<p>.</p>';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return html;
 | 
						return html;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue