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

Additional space before title when activating Ratings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.1, 7.4.4
    • Fix Version/s: 8.3-milestone-2, 7.4.5
    • Component/s: Ratings
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      See bug.png

      it's because of

      #foreach ($uix in $services.uix.getExtensions('org.xwiki.platform.template.title.before'))
             $services.rendering.render($uix.execute(), 'xhtml/1.0')
      #end
      

      It adds:

      <p><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
      

      Bug introduced in https://github.com/xwiki/xwiki-platform/commit/a86acfae4088545b77b3aa2352960812f1838a76?w=1#diff-8b2587dea944bb89ec8c8e8e45745ea5

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                evalica Ecaterina Moraru (Valica)
                Reporter:
                evalica Ecaterina Moraru (Valica)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

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