Commit 2cc3b18d authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 731238 - Dead links in html documentation when using tabs for indentation in c++

parent f4388dc4
...@@ -1798,8 +1798,9 @@ nextChar: ...@@ -1798,8 +1798,9 @@ nextChar:
) )
) )
{ {
if (c=='\t') c=' ';
if (c=='*' || c=='&' || c=='@' || c=='$') if (c=='*' || c=='&' || c=='@' || c=='$')
{ {
//uint rl=result.length(); //uint rl=result.length();
uint rl=growBuf.getPos(); uint rl=growBuf.getPos();
if ((rl>0 && (isId(growBuf.at(rl-1)) || growBuf.at(rl-1)=='>')) && if ((rl>0 && (isId(growBuf.at(rl-1)) || growBuf.at(rl-1)=='>')) &&
...@@ -1827,8 +1828,8 @@ nextChar: ...@@ -1827,8 +1828,8 @@ nextChar:
} }
} }
} }
//printf("removeRedundantWhiteSpace(`%s')=`%s'\n",s.data(),result.data());
growBuf.addChar(0); growBuf.addChar(0);
//printf("removeRedundantWhiteSpace(`%s')=`%s'\n",s.data(),growBuf.get());
//result.resize(resultPos); //result.resize(resultPos);
return growBuf.get(); return growBuf.get();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment