feat: enhance sanitization

This commit is contained in:
alam00000 committed 2026-04-17 23:40:39 +05:30
1 parent d92ee1a003
commit b4779bb49b
35 files changed
+2703 -1240

No files matched your search

+1 -5
View File
@@ -375,7 +375,6 @@
<div
id="upload-area"
class="hidden border-2 border-dashed border-gray-600 rounded-lg p-6 sm:p-12 text-center max-w-full cursor-pointer"
onclick="document.getElementById('pdf-file-input').click()"
>
<i
data-lucide="upload-cloud"
@@ -401,10 +400,7 @@
class="hidden"
/>
<button
onclick="
event.stopPropagation();
document.getElementById('pdf-file-input').click();
"
id="pdf-file-input-select-btn"
class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 sm:px-6 py-2 rounded text-sm sm:text-base"
data-i18n="multiTool.selectFiles"
>
+1 -3
View File
@@ -218,9 +218,7 @@
</h3>
<p id="alert-message" class="text-gray-300 mb-6"></p>
<button
onclick="
document.getElementById('alert-modal').classList.add('hidden')
"
id="alert-ok"
class="w-full bg-indigo-600 hover:bg-indigo-700 text-white font-semibold py-2 px-4 rounded-lg transition-colors duration-200"
>
OK
+4 -4
View File
@@ -191,10 +191,10 @@
<span class="text-xs text-gray-500">Recommended:</span>
<code
class="text-xs text-indigo-400 bg-gray-800 px-2 py-1 rounded flex-1 truncate"
>https://cdn.jsdelivr.net/npm/@bentopdf/gs-wasm/assets/</code
>https://cdn.jsdelivr.net/npm/@bentopdf/gs-wasm@0.1.1/assets/</code
>
<button
data-copy="https://cdn.jsdelivr.net/npm/@bentopdf/gs-wasm/assets/"
data-copy="https://cdn.jsdelivr.net/npm/@bentopdf/gs-wasm@0.1.1/assets/"
class="copy-btn p-1.5 bg-gray-600 hover:bg-gray-500 rounded text-gray-300 hover:text-white transition-colors"
title="Copy to clipboard"
>
@@ -238,10 +238,10 @@
<span class="text-xs text-gray-500">Recommended:</span>
<code
class="text-xs text-indigo-400 bg-gray-800 px-2 py-1 rounded flex-1 truncate"
>https://cdn.jsdelivr.net/npm/coherentpdf/dist/</code
>https://cdn.jsdelivr.net/npm/coherentpdf@2.5.5/dist/</code
>
<button
data-copy="https://cdn.jsdelivr.net/npm/coherentpdf/dist/"
data-copy="https://cdn.jsdelivr.net/npm/coherentpdf@2.5.5/dist/"
class="copy-btn p-1.5 bg-gray-600 hover:bg-gray-500 rounded text-gray-300 hover:text-white transition-colors"
title="Copy to clipboard"
>