Support for HTML content

This commit is contained in:
shopkeeperdev
2025-10-08 09:34:26 -04:00
parent b102a2e41d
commit 7062fd8db2
2 changed files with 20 additions and 5 deletions

View File

@@ -15,7 +15,10 @@ $notes = $block->getVendorNotes();
<span class="title"><?php echo __('Vendor Note %1', $index + 1); ?></span>
</div>
<div class="vendor-note-content" style="padding: 10px 0; line-height: 1.6;">
<?php echo $this->filterOutputHtml($note); ?>
<?php
// Decode HTML entities and output
echo html_entity_decode($note, ENT_QUOTES | ENT_HTML5, 'UTF-8');
?>
</div>
</div>
<?php if ($index < count($notes) - 1): ?>