Empty title change rendering of siblings
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- documentation
Direzione di ricerca
Riproduci il problema con php phd/render.php --format bigxhtml usando la struttura .manual.xml mostrata, che contiene un <title/> vuoto e un fratello. Segui il percorso di rendering bigxhtml e verifica che l’output completato mantenga il al di fuori dell’elemento
vuoto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- PHP
- Stelle
- 91
- Fork
- 59
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di php/phd
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Can <subtitle> not be used? Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
-
Half of `doc-pl` is all bold Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
Issue simili
-
Solved site promotion gate fails on runner PHP patch drift (expects 8.2.33, runner installs 8.2.34) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Automattic/blocks-engine#2161 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Automattic/static-site-importer#1824 ·
-
[Chore] Keep one viget-block-generator skill and replicate it, instead of four tracked copies Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Cannot reset column width Aperta0. Needs triage bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
0. Needs triage 35-feedback bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100