We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24492d commit 1d253d7Copy full SHA for 1d253d7
src/lib/Gen/hbs/HandlebarsCorpus.cpp
@@ -116,8 +116,13 @@ getXref(Info const& I) const
116
{
117
bool multipage = getCorpus().config->multipage;
118
// use '/' as the seperator for multipage, and '-' for single-page
119
- std::string xref = names_.getQualified(
120
- I.id, multipage ? '/' : '-');
+ std::string xref;
+ if(!multipage)
121
+ {
122
+ xref += "#";
123
+ }
124
+ char delim = multipage ? '/' : '-';
125
+ xref += names_.getQualified(I.id, delim);
126
// add the file extension if in multipage mode
127
if(multipage)
128
0 commit comments