Skip to content

Commit 0c39739

Browse files
jekuaitkrimi-itk
andauthored
Update modules/os2forms_digital_post/src/EventSubscriber/Os2formsDigitalPostSubscriber.php
Co-authored-by: Mikkel Ricky <rimi@aarhus.dk>
1 parent 7ed8d8f commit 0c39739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/os2forms_digital_post/src/EventSubscriber/Os2formsDigitalPostSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function onPrintRender(PrintHtmlAlterEvent $event): void {
5353
$addressHtml = '<div id="envelope-window-digital-post"><div class="h-card">';
5454
$addressHtml .= '<div class="p-name">' . htmlspecialchars($lookupResult->getName()) . '</div>';
5555
if ($lookupResult instanceof CprLookupResult && $lookupResult->getCoName()) {
56-
$addressHtml .= '<div class="p-name">c/o ' . htmlspecialchars($lookupResult->getCoName()) . '</div>';
56+
$addressHtml .= '<div class="p-name p-co-name">c/o ' . htmlspecialchars($lookupResult->getCoName()) . '</div>';
5757
}
5858
$addressHtml .= '<div>';
5959
$addressHtml .= '<span class="p-street-address">' . htmlspecialchars($streetAddress) . '</span>';

0 commit comments

Comments
 (0)