Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128949

[REG: 5->6] Help file not searchable if body tag is followed by another tag

    XMLWordPrintable

Details

    • 5cab3a508 (master), f7cf23c06 (dev)

    Description

      The problem is in index.html where there is a div tag right after body:

      <body><div>This text cannot be searched</div></body></html>
      

      Something in this causes DocumentContainerPrivate::buildIndex() to not find body tag. Inserting a new line after the body tag makes this work.

      To reproduce:

      • generate help: qhelpgenerator macros.qhcp
      • load it in assistant and open the index page
      • ctrl+f and try searching anything

      Attachments

        1. qtbug128949.zip
          2 kB
          Joni Poikelin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ausutter Audun Sutterud
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes