Refactor formatter (#17828)
* Refactor formatter * Move custom emoji pre-rendering logic to view helpers * Move more methods out of Formatter * Fix code style issues * Remove Formatter * Add inline poll options to RSS feeds * Remove unused helper method * Fix code style issues * Various fixes and improvements * Fix test
This commit is contained in:
		@@ -28,10 +28,10 @@
 | 
			
		||||
                              - if status.spoiler_text?
 | 
			
		||||
                                %div.auto-dir
 | 
			
		||||
                                  %p
 | 
			
		||||
                                    = Formatter.instance.format_spoiler(status)
 | 
			
		||||
                                    = status.spoiler_text
 | 
			
		||||
 | 
			
		||||
                              %div.auto-dir
 | 
			
		||||
                                = Formatter.instance.format(status)
 | 
			
		||||
                                = status_content_format(status)
 | 
			
		||||
 | 
			
		||||
                                - if status.ordered_media_attachments.size > 0
 | 
			
		||||
                                  %p
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user