Content deleted Content added
Polygnotus (talk | contribs) No edit summary |
Polygnotus (talk | contribs) No edit summary |
||
Line 62:
console.log('Diff generation successful');
console.log('Diff result:', diffHtml);
// $('#diff-output').html(diffHtml);▼
const diffContainer = $('<div>')
.css({
'border': '1px solid #a2a9b1',
'padding': '10px',
'margin-bottom': '20px',
'background-color': '#f8f9fa'
})
.html('<strong>Diff Result:</strong><br>' + diffHtml);
$('#bodyContent').prepend(diffContainer);
} catch (error) {
console.error('Error generating diff:', error);
|