mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2026-11-30 19:24:30 -06:00
The stylesheet for dump-commands.xsl unconditionally insert a new line after each <userinput>...</userinput> block. This may not be intended if a <userinput> block contains an inner <userinput> block. The fix is: to apply-templates in <userinput> templates with a "mode=" attribute so that a template without mode cannot be used. Then add the mode= attribute to any template that must be processed inside a <userinput> block (currently only <replaceable> ones). The inner <userinput> is then processed by the default template (write text), and not the one in the stylesheet.