If a <replacable> tag is nested inside of an <optional> tag the formatting of the closing ] brace is broken. This patch tries to conditionally restore the formatting after <replace> that corresponds to the parent element.
This minimal example can reproduce the described behavior.
So I realized that this patch is unfortunately not only solving the described problem but destroying the layout in bigger man pages. Since I am not familiar with xslt I don't know where to fix this problem.
Log in to post a comment.