This is the content of my store contact address:


I am getting this content in the Pdf/Abstract.php file, like:

$storeAddress = Mage::getStoreConfig('general/store_information/address');

and I displayed it like:

    $storeAddress, 350, $top - 54

For some reason, it didn't recognize the <br/> tag.

So I tried to replace the <br/> tag with \n, but I got the same result. Is there a way to add a line break in the PDF? Thx !


Try to wrap the part below the break in an <p>text</p>

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.