次の html を html2pdfconverter.php ファイルに送信すると、生物学的情報と病気と怪我の見出しがエクスポートから省略されます。
<div id = "container" style="width: 625px;">
<div id = "leftcontainer">
<h4>Biological Information</h4>
<div id = "bioinfo">
<ul>
<li><span>Morning Bodyweight (kg): </span></li>
<li><span>Evening Bodyweight (kg): </span></li>
<li><span>Morning Heart Rate (bpm): </span></li>
</ul>
</div>
<h4>Fatigue & Recovery</h4>
<div id = "fatigue">
<ul>
<li><span>Estimated Fluid Consumption (Litres):</span></li>
<li><span>Sleep Quality:</span></li>
<li><span>Sleep Quantity (Hours): </span></li>
<li><span>Mental Recovery:</span></li>
<li><span>Physical Recovery:</span></li>
<li><span>Pre-Training Energy:</span></li>
<li><span>Muscle Soreness:</span></li>
<li><span>General Fatigue:</span></li>
</ul>
</div>
</div>
<div id = "rightcontainer">
<h4>Illness & Injury</h4>
<div id = "illness">
<ul>
<li><span>Are You Ill:</span></li>
<li><span>Are You Injured:</span></li>
</ul>
</div>
<h4>Training</h4>
<div id = "training">
<ul>
<li><span>Morning Session Duration (minutes):</span></li>
<li><span>Morning Session Intensity:</span></li>
<li><span>Evening Session Duration (minutes):</span></li>
<li><span>Evening Session Intensity:</span></li>
</ul>
</div>
<h4>General Comments</h4>
<div id = "comments">
<ul>
<li><span>General Feedback (10 - 100 characters):</span></li>
</ul>
</div>
</div>
</div>
私は以下を取得します:
<div id = "container" style="width: 625px;">
<div id = "leftcontainer">
<div id = "bioinfo">
<ul>
<li><span>Morning Bodyweight (kg): </span></li>
<li><span>Evening Bodyweight (kg): </span></li>
<li><span>Morning Heart Rate (bpm): </span></li>
</ul>
</div>
<h4>Fatigue & Recovery</h4>
<div id = "fatigue">
<ul>
<li><span>Estimated Fluid Consumption (Litres):</span></li>
<li><span>Sleep Quality:</span></li>
<li><span>Sleep Quantity (Hours): </span></li>
<li><span>Mental Recovery:</span></li>
<li><span>Physical Recovery:</span></li>
<li><span>Pre-Training Energy:</span></li>
<li><span>Muscle Soreness:</span></li>
<li><span>General Fatigue:</span></li>
</ul>
</div>
</div>
<div id = "rightcontainer">
<div id = "illness">
<ul>
<li><span>Are You Ill:</span></li>
<li><span>Are You Injured:</span></li>
</ul>
</div>
<h4>Training</h4>
<div id = "training">
<ul>
<li><span>Morning Session Duration (minutes):</span></li>
<li><span>Morning Session Intensity:</span></li>
<li><span>Evening Session Duration (minutes):</span></li>
<li><span>Evening Session Intensity:</span></li>
</ul>
</div>
<h4>General Comments</h4>
<div id = "comments">
<ul>
<li><span>General Feedback (10 - 100 characters):</span></li>
</ul>
</div>
</div>
</div>
これは、どちらも div セクションの下の最初の見出しであるという事実と関係があるに違いありません...なぜそれらがエクスポートされていないのかわかりません。
正しい HTML が html2pdf ジェネレータ ファイルに送信されています。
h4 タグを ap タグに変更すると機能します...しかし、他のヘッダータグでは機能しません...他の誰かがこの問題に遭遇しましたか?