Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10278

Capitalizing description of search results not desireable in some languages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • 6.1-milestone-2
    • 5.4.4
    • Search - Solr
    • None
    • Unknown
    • N/A
    • N/A

    Description

      When displaying search results the Main.SolrSearch shows where the search term is found in a document (e.g. "Title", "Rendered Document Content", etc) in a dl.search-result-highlights > dt

      For this element it has a css rule {{ text-transform: capitalize; }} which however makes the description looking odd at least in German language because it capitalizes words that are usually not capitalized.

      As this text can be capitalized manually in the translations I see no point in having the CSS rule there and would like to scrap it, but of course I could be mistaken and overlooking something (e.g. this rule beeing used in some other place, too).

      Attachments

        1. search_de.png
          16 kB
          Clemens Robbenhaar

        Activity

          People

            mflorea Marius Dumitru Florea
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: