q66 pushed a commit to branch master.

http://git.enlightenment.org/tools/edocgen.git/commit/?id=673cb1f37f43ebbf20c1fe7ee84231bee90eddec

commit 673cb1f37f43ebbf20c1fe7ee84231bee90eddec
Author: Daniel Kolesa <[email protected]>
Date:   Fri Nov 15 16:13:38 2019 +0100

    writer: emit a header unconditionally
    
    The pagetitle plugin will not emit a header by itself.
---
 docgen/writer.lua | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docgen/writer.lua b/docgen/writer.lua
index ef166f9..af24257 100644
--- a/docgen/writer.lua
+++ b/docgen/writer.lua
@@ -162,9 +162,8 @@ writers["dokuwiki"] = util.Object:clone {
             if M.has_feature("title") then
                 self:write_raw("~~Title: ", title, "~~")
                 self:write_nl()
-            else
-                self:write_h(title, 1)
             end
+            self:write_h(title, 1)
         end
     end,
 

-- 


Reply via email to