PHPPdf icon indicating copy to clipboard operation
PHPPdf copied to clipboard

Norma text or allow tags not works in placeholders header

Open wlorenzetti opened this issue 11 years ago • 3 comments

Hi, I try to put some text in my header placeholder, but olny tags page-info is visible on my pdf, other text no.

wlorenzetti avatar Dec 05 '13 16:12 wlorenzetti

Can you provide some code that shows this problem?

psliwa avatar Dec 05 '13 21:12 psliwa

I found the problem, this behavior comes when I use template pdf in my dinamic-page. If I don't use template pdf it works. I hope this can help you. Thanks in advance. Code following

I built it with kohana template system:

<placeholders>
                <header>
                    <div height="100px" width="100%">
                           <h1><?php echo $azienda->ragione_sociale.' - '.__('Company global report').' '.__('to date').' '.date(SAFE::date_mode(),  time()) ?></h1>
                            <h2 class="section-title"><?php echo mb_strtoupper(__('Section')).' '.$num.' - '.$data_section ?></h2>   
                    </div>
                </header>
        </placeholders>

wlorenzetti avatar Dec 06 '13 08:12 wlorenzetti

I can't reproduce this issue. Can you give me "short, self contained, correct example" (http://sscce.org) that shows the problem? Maybe your issue is related to #32?

psliwa avatar Dec 10 '13 22:12 psliwa