mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Strip null values for changelog and set size limit for large content blocks
This commit is contained in:
@@ -155,14 +155,12 @@
|
||||
|
||||
{#if new_value && !old_value}
|
||||
<h4>New value</h4>
|
||||
<pre style="white-space: pre-wrap">{@html (DOMPurify.sanitize(newValue),
|
||||
{ ALLOWED_TAGS: ["ins", "del"] })}</pre>
|
||||
<pre style="white-space: pre-wrap">{DOMPurify.sanitize(newValue)}</pre>
|
||||
{/if}
|
||||
|
||||
{#if old_value && !new_value}
|
||||
<h4>Old value</h4>
|
||||
<pre style="white-space: pre-wrap">{@html (DOMPurify.sanitize(oldValue),
|
||||
{ ALLOWED_TAGS: ["ins", "del"] })}</pre>
|
||||
<pre style="white-space: pre-wrap">{DOMPurify.sanitize(oldValue)}</pre>
|
||||
{/if}
|
||||
</Modal>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user