Switch to unified view

a/src/internfile/htmlparse.cpp b/src/internfile/htmlparse.cpp
...
...
112
}
112
}
113
113
114
void
114
void
115
HtmlParser::decode_entities(string &s)
115
HtmlParser::decode_entities(string &s)
116
{
116
{
117
    // Not used for recoll. Kept here to minimize the amount of diffs
117
    // Not used for recoll. Kept here to minimize the amount of
118
    // diffs. Almost the same code in myhtmlparse except that the
119
    // entity table directly holds the utf-8 strings instead of the
120
    // unicode positions (one less conversion).
118
#if 0
121
#if 0
119
    // We need a const_iterator version of s.end() - otherwise the
122
    // We need a const_iterator version of s.end() - otherwise the
120
    // find() and find_if() templates don't work...
123
    // find() and find_if() templates don't work...
121
    string::const_iterator amp = s.begin(), s_end = s.end();
124
    string::const_iterator amp = s.begin(), s_end = s.end();
122
    while ((amp = find(amp, s_end, '&')) != s_end) {
125
    while ((amp = find(amp, s_end, '&')) != s_end) {