Blank headlines prevent proper include #67

pyu opened this Issue Jan 21, 2011 · 1 comment


None yet
2 participants

pyu commented Jan 21, 2011

I use firstseconly with include and I have some pages that have blank headlines to make include only show a part of the first named section, e.g.:

====== Tutorials ======

This paragraph is included.

===== =====

This paragraph is not.

In the older versions of include, this worked. When I upgraded to the latest ( with dokuwiki-2010-11-07a, the include result only shows the text in the phantom section under the empty headline.


michitux commented Jan 21, 2011

Use sectionID() only when a section is given. Closed by 5534e4e and Closed by 5534e4e

The problem was that sectionID() when NULL is given as parameter returns
'section' which leads to strange links in headings and empty headings
also get 'section' as id so they are selected when the whole page is
included. Please upgrade and purge the cache (at least for the pages
where the bug occurs).

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment