Remove overzealous escaping

This commit is contained in:
David Stone
2025-04-07 09:47:01 -06:00
parent 816abe7360
commit d86e54544b
7 changed files with 10 additions and 10 deletions

View File

@ -185,7 +185,7 @@ $has_tax_included = false;
/**
* Displays the company address.
*/
echo wp_kses(nl2br($company_address), array('br' => array()));
echo nl2br(esc_html($company_address), array('br' => array()));
?>
</td>
@ -198,7 +198,7 @@ $has_tax_included = false;
/**
* Displays the clients address.
*/
echo wp_kses(nl2br(implode(PHP_EOL, (array) $billing_address)), array('br' => array()));
echo nl2br(esc_html(implode(PHP_EOL, (array) $billing_address)), array('br' => array()));
?>