mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 20:21:47 +01:00 
			
		
		
		
	1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
		
	
			
		
			
				
	
	
		
			4 lines
		
	
	
		
			174 B
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
		
			174 B
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
| <div class="field {{if not .item.VisibleOnForm}}tw-hidden{{end}}">
 | |
| 	<div class="render-content markup">{{ctx.RenderUtils.MarkdownToHtml .item.Attributes.value}}</div>
 | |
| </div>
 |