From 75c2284c460501a8c02051a0c1020b869f93595d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 14 Oct 2018 15:08:07 +0200 Subject: [PATCH] doxygen: fix parsing of two consecutive HTML navbar links. Of course I have bugz! --- doxygen/dox2html5.py | 2 +- doxygen/test/layout_navbar_html/Doxyfile | 2 +- doxygen/test/layout_navbar_html/index.html | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index ff88aabf..13d9fc9e 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -1926,7 +1926,7 @@ def postprocess_state(state: State): if i.startswith('') + 4 links += [i[0:end]] - i = i[end:] + i = i[end:].lstrip() else: firstAndRest = i.split(None, 1) if len(firstAndRest): diff --git a/doxygen/test/layout_navbar_html/Doxyfile b/doxygen/test/layout_navbar_html/Doxyfile index 124959d7..5d014db1 100644 --- a/doxygen/test/layout_navbar_html/Doxyfile +++ b/doxygen/test/layout_navbar_html/Doxyfile @@ -4,7 +4,7 @@ XML_OUTPUT = ##! "Say hello annotated" \ ##! "files" ##! M_LINKS_NAVBAR2 = \ -##! "pages This is an e-mail namespaces" \ +##! "pages This is an e-mail Another link namespaces" \ ##! "GitHub" ##! M_PAGE_FINE_PRINT = ##! M_THEME_COLOR = diff --git a/doxygen/test/layout_navbar_html/index.html b/doxygen/test/layout_navbar_html/index.html index 12cf07ec..6de951a8 100644 --- a/doxygen/test/layout_navbar_html/index.html +++ b/doxygen/test/layout_navbar_html/index.html @@ -32,6 +32,7 @@ Pages
  1. This is an e-mail
  2. +
  3. Another link
  4. Namespaces
@@ -54,4 +55,4 @@ - \ No newline at end of file + -- 2.30.2