diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index 945f48a..2b08e37 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -99,7 +99,7 @@ void TextGeneratorOLImpl::writeBreak() const { m_od.pushGeneratorState(); m_od.disableAllBut(OutputGenerator::Html); - m_od.lineBreak(); + m_od.lineBreak("typebreak"); m_od.popGeneratorState(); } @@ -1642,7 +1642,7 @@ nextChar: //uint rl=result.length(); uint rl=resultPos; if ((rl>0 && (isId(result.at(rl-1)) || result.at(rl-1)=='>')) && - (c!='*' || !findOperator2(s,i)) // avoid splitting operator* and operator->* + ((c!='*' && c!='&') || !findOperator2(s,i)) // avoid splitting operator* and operator->* and operator& ) { ADD_CHAR(' '); |