Re: xslTNG, <literal>, HTML5 <code>
Norm Tovey-Walsh <[email protected]> Mon, 07 Jun 2021 10:18:44 +0100
| Newsgroups | gmane.text.docbook.apps |
|---|---|
| Message-ID | <[email protected]> |
Sorry, this got lost in my inbox. Michael Urban <[email protected]> writes: > I tried out the xslTNG stylesheets recently. I found that my understanding > of the appearance of inlines like <literal> does not match what appears to > happen in my browsers: in particular, the <code> element generated > by the xslTNG inline module is treated as unbreakable. That’s probably a bug for <literal>. As is the background color, I think. I’ll fix that in the next release. There’s also something strange going on in that literallayout that I’ll investigate. > <article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" > version="5.1"> > <title>Wrapping Literals</title> > <para> Last week, I wanted to format the following email, but it didn't wrap: <blockquote> > <literallayout><literal> > To: [email protected] This markup, FYI, introduces an extra line break at the beginning of the literal layout. If you want the “To:” line to be the first line of the block, use: <literallayout><literal>To: [email protected] Similarly at the end. Be seeing you, norm -- Norman Tovey-Walsh <[email protected]> https://nwalsh.com/ > Each problem that I solved became a rule which served afterwards to > solve other problems.--Rene Descartes
signature.asc
(application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAmC95HUACgkQhVWfHhJM AHklbBAApzjbORpYSZHkPMhC0f7gLCytXb+Hx5b67+LJ4Ud21KaFXsr7Pl7sTos7 G3Hu3wcWeH2betbX07qM1zpT3GSb0YMRj/LYm5wqdY7KLpvvcxxV1mZJFwHmGxzh o81ZgdBug20jxkGs2i+UAa4QzFs3KhVGaLVviE7ZVhhk2B9Zv6FXbDnqZ1oDVHNW reVAbf9xSqnlF1n1LxwJzxHBL76ShpfaFVF63j88dTxFIflci3hzHVaadFtJPpQ3 enws0zU5OuawCn3W98XcGNShxZZhq67s9XGVKVQbLupZGsOxdD/HRa9NHWl9rSQr yZCmzoRLdX3496QcxZ8hieWSrmBa+AeiL92c5EkjLOkn5zhrY186dCKrI6XFnEBl ySWjYYB5hsEzKG5tJXaARy95XqAqfeyQztkBlHxb/LWx3LAM2ieSuqyIDlTyj+6p NOXamai4lssDiA3XfBfnxX5KtfP0c67WGI9IW23jBX/rX/LmpD8mpwHSy27UYhgE 01h8OOMlcfhpEKSvYS/RU7vJy9ra76xE2XLOk7wvVRJnBkcfGw7EVxYH0r6S555V EsFmgguLdubV7ZBEsUSFo7G1mJ/flqqKw2vFQYvp7ktJul/wabAebB6+to6gXjTq x2cNHOFWif0zRU2937v9yA+CJRJErWdmENg6HORtj3lNjFYXk4o= =qO2Y -----END PGP SIGNATURE-----