mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix file preview in note revisions dialog
This commit is contained in:
		| @@ -157,8 +157,8 @@ async function setContentPane() { | ||||
|  | ||||
|         if (fullNoteRevision.content) { | ||||
|             $table.append($("<tr>").append( | ||||
|                 $("<th>").text("Preview:"), | ||||
|                 $("<td>").append( | ||||
|                 $('<td colspan="2">').append( | ||||
|                     $('<div style="font-weight: bold;">').text("Preview:"), | ||||
|                     $('<pre class="file-preview-content"></pre>') | ||||
|                         .text(fullNoteRevision.content) | ||||
|                 ) | ||||
| @@ -196,4 +196,4 @@ $list.on('focus', '.dropdown-item', e => { | ||||
|     }); | ||||
|  | ||||
|     setContentPane(); | ||||
| }); | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user