Switch to unified view

a/src/internfile/myhtmlparse.cpp b/src/internfile/myhtmlparse.cpp
...
...
309
    case 'b':
309
    case 'b':
310
        // body: some bad docs have several opening body tags and
310
        // body: some bad docs have several opening body tags and
311
        // even text before the body is displayed by Opera and
311
        // even text before the body is displayed by Opera and
312
        // Firefox.  We used to reset the dump each time we saw a
312
        // Firefox.  We used to reset the dump each time we saw a
313
        // body tag, but I can't see any reason to do so.
313
        // body tag, but I can't see any reason to do so.
314
314
        if (tag == "blockquote" || tag == "br") {
315
        if (tag == "blockquote" || tag == "br") {
315
        dump += '\n';
316
        dump += '\n';
316
        pending_space = true;
317
        pending_space = true;
317
        }
318
        }
318
        break;
319
        break;
...
...
469
    switch (tag[0]) {
470
    switch (tag[0]) {
470
    case 'a':
471
    case 'a':
471
        if (tag == "address") pending_space = true;
472
        if (tag == "address") pending_space = true;
472
        break;
473
        break;
473
    case 'b':
474
    case 'b':
474
      if (tag == "body") {
475
      LOGDEB1(("Myhtmlparse: body close tag found\n"));
476
      // We used to signal and end of doc here by returning
475
        // body: We used to signal and end of doc here by returning
477
      // false but the browsers just ignore body and html
476
        // false but the browsers just ignore body and html
478
      // closing tags if there is further text, so it seems right
477
        // closing tags if there is further text, so it seems right
479
      // to do the same
478
        // to do the same
480
      break;
479
481
      }
482
        if (tag == "blockquote" || tag == "br") pending_space = true;
480
        if (tag == "blockquote" || tag == "br") pending_space = true;
483
        break;
481
        break;
484
    case 'c':
482
    case 'c':
485
        if (tag == "center") pending_space = true;
483
        if (tag == "center") pending_space = true;
486
        break;
484
        break;