From fd120fb9b09ddd584ff9bf41e9ca0d29c99dd7a0 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 11 Jun 2024 20:15:44 +0200 Subject: Ignore empty page title for tab labels When a page has an empty title like , don't use it to set the tab label, but instead rely on the default tab label, which is computed from the file name. --- test/html/manual/title-dup.html | 10 ++++++++++ test/html/manual/title-empty.html | 9 +++++++++ test/html/manual/title-missing.html | 8 ++++++++ 3 files changed, 27 insertions(+) create mode 100644 test/html/manual/title-dup.html create mode 100644 test/html/manual/title-empty.html create mode 100644 test/html/manual/title-missing.html (limited to 'test') diff --git a/test/html/manual/title-dup.html b/test/html/manual/title-dup.html new file mode 100644 index 00000000..eaae117c --- /dev/null +++ b/test/html/manual/title-dup.html @@ -0,0 +1,10 @@ + + + + one + two + + +

Duplicated title

+ + diff --git a/test/html/manual/title-empty.html b/test/html/manual/title-empty.html new file mode 100644 index 00000000..7251307b --- /dev/null +++ b/test/html/manual/title-empty.html @@ -0,0 +1,9 @@ + + + + + + +

Empty title

+ + diff --git a/test/html/manual/title-missing.html b/test/html/manual/title-missing.html new file mode 100644 index 00000000..9227ec15 --- /dev/null +++ b/test/html/manual/title-missing.html @@ -0,0 +1,8 @@ + + + + + +

Missing title

+ + -- cgit v1.2.3