| От | Alexander Lakhin |
|---|---|
| Тема | Re: nested tags in glossary entries in html docs |
| Дата | |
| Msg-id | 672a27ae-0d77-2b28-62ea-83c9ccf2b424@gmail.com обсуждение |
| Ответ на | Re: nested tags in glossary entries in html docs (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
| Ответы |
Re: nested tags in glossary entries in html docs
|
| Список | pgsql-docs |
Hello, 25.04.2024 12:24, Alvaro Herrera wrote: > On 2024-Apr-12, Erik Wienhold wrote: > >> There's this bug[1] in the DocBook XSLT stylesheets. Looks like the >> fix[2] landed in 1.79.2 (latest version on Arch, > Maybe one of these days we should get going with the migration to > Docbook 5.x that Jürgen Purtz proposed. > > https://postgr.es/m/21ed3fd9-9020-4b53-b04f-a08a831b6085@purtz.de > > In the meantime, if anyone wants to suggest a XSLT patch to carry in our > local definition, we could try that. Please try the attached patch, which adds <xsl:template match="glossterm" name="glossterm">, borrowed from /usr/share/xml/docbook/stylesheet/ docbook-xsl/xhtml/inline.xsl (I have docbook-xsl 1.79.2 installed), to our local stylesheet-html-common.xsl. I applied the modification from [1] (in two places) and it looks like the nested <a> issue is gone. [1] https://github.com/docbook/xslt10-stylesheets/pull/72/commits/62144252364492aecd71a3c8d5e6e1624af84785 Best regards, Alexander
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера