From 5c1e6835683d4daa2d0cc7c8f68972d55b2ab743 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 28 Apr 2024 15:18:27 +0300 Subject: [PATCH] Fix duplicate equal signs in Doxygen-generated enum value initializers. Doxygen 1.9.1 generates enum tags with text starting with an equal sign ('=') followed by the enum value initializer. This sign was copied under the BoostBook tag, and BoostBook styleseets add an equal sign of their own when converting this tag to HTML. This resulted in duplicate equal signs in the HTML output. This commit strips the leading equal sign from the initializer before putting it into the tag. --- xsl/doxygen/doxygen2boostbook.xsl | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/xsl/doxygen/doxygen2boostbook.xsl b/xsl/doxygen/doxygen2boostbook.xsl index 39dd72d..097a0fd 100644 --- a/xsl/doxygen/doxygen2boostbook.xsl +++ b/xsl/doxygen/doxygen2boostbook.xsl @@ -324,7 +324,8 @@ - + @@ -336,6 +337,24 @@ + + + + + + + + + + + + + + + +