Empty title change rendering of siblings
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- php
調査の方向性
空の <title/> と兄弟要素の を含む、示されている .manual.xml 構造を使用して、php phd/render.php --format bigxhtml で問題を再現します。bigxhtml のレンダリング経路を追跡し、完成した出力で空の
要素の外側に が保持されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
I'm about to merge an fixup that may start including empty <title>s in manual, in an effort to translations can be build able for more time, particully at times that doc-en is being heavy updated.
The fixup <title></title><simpara>%failed xi:xinclude%</simpara> (empty title) is saved on .manual.xml as:
<refsect1 role="parameters">
<title/>
<simpara>%failed xi:xinclude%</simpara>
</refsect1
and is rendered by php phd/render.php --format bigxhtml as:
<div class="refsect1 parameters" id="refsect1-function.bcdivmod-parameters">
<h3 class="title"><p class="simpara">%failed xi:xinclude%</p></h3>
</div>
Instead of:
<div class="refsect1 parameters" id="refsect1-function.bcdivmod-parameters">
<h3 class="title"></h3>
<p class="simpara">%failed xi:xinclude%</p>
</div>
In other words, empty <title> causes their siblings to be rendered inside the title, instead of around it. I'm worried that this can swallows entire sections inside titles. In the meanwhile, and to workaround this, I'm placing some placeholder texts in fixup titles, but these ends rendered in manual.
- 主要言語
- PHP
- スター
- 91
- フォーク
- 59
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
php/phd のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
似ている issue
-
[Sync EN] Fix session read handler docs: false reports a failure, not a missing session (#5902)オープンsync-en
難易度 2/5 1〜2日 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
feature-request needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/aws-sdk-php#3365 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
-
bug status: unverified
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
woocommerce/google-listings-and-ads#3884 ·
メンテナーはふだん 1 日以内に返信