Skip to content

Commit

Permalink
Bug 674851 - Percent to prevent auto-linking in page title is not rem…
Browse files Browse the repository at this point in the history
…oved for navpath

remove the % sign from some relevant places. The % sign is to prevent automatic linking.
  • Loading branch information
albert-github committed Feb 17, 2014
1 parent 9b76c1a commit 5d44acc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/htmlgen.cpp
Expand Up @@ -1683,7 +1683,7 @@ void HtmlGenerator::startFile(const char *name,const char *,
Doxygen::indexList->addIndexFile(fileName);

lastFile = fileName;
t << substituteHtmlKeywords(g_header,convertToHtml(title),relPath);
t << substituteHtmlKeywords(g_header,convertToHtml(filterTitle(title)),relPath);

t << "<!-- " << theTranslator->trGeneratedBy() << " Doxygen "
<< versionString << " -->" << endl;
Expand Down
2 changes: 1 addition & 1 deletion src/index.cpp
Expand Up @@ -3102,7 +3102,7 @@ static void writePages(PageDef *pd,FTVHelp *ftv)
if (pd->title().isEmpty())
pageTitle=pd->name();
else
pageTitle=pd->title();
pageTitle=filterTitle(pd->title());

if (ftv)
{
Expand Down
2 changes: 1 addition & 1 deletion src/perlmodgen.cpp
Expand Up @@ -2125,7 +2125,7 @@ void PerlModGenerator::generatePerlModForPage(PageDef *pd)

SectionInfo *si = Doxygen::sectionDict->find(pd->name());
if (si)
m_output.addFieldQuotedString("title", si->title);
m_output.addFieldQuotedString("title4", filterTitle(si->title));

addPerlModDocBlock(m_output,"detailed",pd->docFile(),pd->docLine(),0,0,pd->documentation());
m_output.closeHash();
Expand Down
2 changes: 1 addition & 1 deletion src/xmlgen.cpp
Expand Up @@ -1845,7 +1845,7 @@ static void generateXMLForPage(PageDef *pd,FTextStream &ti,bool isExample)
SectionInfo *si = Doxygen::sectionDict->find(pd->name());
if (si)
{
t << " <title>" << convertToXML(convertCharEntitiesToUTF8(si->title))
t << " <title>" << convertToXML(convertCharEntitiesToUTF8(filterTitle(si->title)))
<< "</title>" << endl;
}
}
Expand Down

0 comments on commit 5d44acc

Please sign in to comment.