diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2017-12-24 10:18:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-24 10:18:40 (GMT) |
commit | 31ca2a48034dd1b0dc878dd992abb74ed5c5667f (patch) | |
tree | a8e396c69bc5149e21b1bf6684424fd200174622 /src/doxygen.cpp | |
parent | 722ddd602e24862a7e3a906fa0ffa4a71a1ed255 (diff) | |
parent | d6801c4c5eaeebc5e14f5d1cd7c312ad82c1dbbd (diff) | |
download | Doxygen-31ca2a48034dd1b0dc878dd992abb74ed5c5667f.zip Doxygen-31ca2a48034dd1b0dc878dd992abb74ed5c5667f.tar.gz Doxygen-31ca2a48034dd1b0dc878dd992abb74ed5c5667f.tar.bz2 |
Merge pull request #602 from albert-github/feature/bug_newline_alias
Physical newlines in ALIASES configuration tags.
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index cf9159c..f9fde4c 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -9825,6 +9825,16 @@ static void escapeAliases() } newValue+=value.mid(p,value.length()-p); *s=newValue; + p = 0; + newValue = ""; + while ((in=value.find("^^",p))!=-1) + { + newValue+=value.mid(p,in-p); + newValue+="\n"; + p=in+2; + } + newValue+=value.mid(p,value.length()-p); + *s=newValue; //printf("Alias %s has value %s\n",adi.currentKey().data(),s->data()); } } |