Auto-deploy: 2026-05-17 01:43:14
This commit is contained in:
@@ -580,8 +580,11 @@
|
||||
results[tab] = text;
|
||||
|
||||
// Render markdown-like output
|
||||
const isArabic = /[\u0600-\u06FF]/.test(text);
|
||||
const rtlAttr = isArabic ? 'dir="rtl" style="text-align: right; padding-right: 15px;"' : '';
|
||||
|
||||
pane.innerHTML = `
|
||||
<div class="lja-result ${response.data.fromCache ? 'lja-cached' : ''}">
|
||||
<div class="lja-result ${response.data.fromCache ? 'lja-cached' : ''}" ${rtlAttr}>
|
||||
${response.data.fromCache ? '<div class="lja-cache-badge">⚡ Cached result</div>' : ''}
|
||||
${renderMarkdown(text)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user