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

Capitalizing description of search results not desireable in some languages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.4.4
    • Fix Version/s: 6.1-milestone-2
    • Component/s: Search - Solr
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: