Adding text formatting on a nested bullet list is adding line spacing between the lines

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.9.0
    • Component/s: Issue - Comments
    • None
    • 7.09
    • 4
    • Severity 3 - Minor
    • 0

      Summary

      Line spacing between lines is being added when we add text formatting on the parent list.

      Steps to Reproduce

      1. Add a comment as such (Text Mode):
        * Heading 1 asdfghjklqwertyuiopzxcvbnm
        ** Heading 1.1 asdfghjklqwertyuiopzxcvbnm
        ** Heading 1.2 asdfghjklqwertyuiopzxcvbnm
        *** Heading 1.2.1 asdfghjklqwertyuiopzxcvbnm
        *** Heading 1.2.2 asdfghjklqwertyuiopzxcvbnm
        * Heading 2 asdfghjklqwertyuiopzxcvbnm
        ** Heading 2.1 asdfghjklqwertyuiopzxcvbnm
        
      2. Switch it to Visual Mode.
      3. Highlight the Heading 1.2 asdfghjklqwertyuiopzxcvbnm line and bold it.
      4. Observe that there is a line spacing added below the line.
      5. Highlight the Heading 2 asdfghjklqwertyuiopzxcvbnm line and apply font color.
      6. Observe that there is a line spacing added below the line.

      This happens even if we add the text formatting manually in the Text Mode as well. For example, for the line Heading 1.2 asdfghjklqwertyuiopzxcvbnm, we can change it to *Heading 1.2 asdfghjklqwertyuiopzxcvbnm* to manually add the formatting and the behaviour is still the same. Pointing out that this is nothing to do with the Visual Mode.

      Expected Results

      • Heading 1 asdfghjklqwertyuiopzxcvbnm
        • Heading 1.1 asdfghjklqwertyuiopzxcvbnm
        • Heading 1.2 asdfghjklqwertyuiopzxcvbnm
          • Heading 1.2.1 asdfghjklqwertyuiopzxcvbnm
          • Heading 1.2.2 asdfghjklqwertyuiopzxcvbnm
      • Heading 2 asdfghjklqwertyuiopzxcvbnm
        • Heading 2.1 asdfghjklqwertyuiopzxcvbnm

      Same line spacing with bold Heading 1.2 and red Heading 2.

      Actual Results

      • Heading 1 asdfghjklqwertyuiopzxcvbnm
        • Heading 1.1 asdfghjklqwertyuiopzxcvbnm
        • Heading 1.2 asdfghjklqwertyuiopzxcvbnm
          • Heading 1.2.1 asdfghjklqwertyuiopzxcvbnm
          • Heading 1.2.2 asdfghjklqwertyuiopzxcvbnm
      • Heading 2 asdfghjklqwertyuiopzxcvbnm
        • Heading 2.1 asdfghjklqwertyuiopzxcvbnm

      Workaround

      Go to : ⚙ > System > Announcement banner > add the text below > for all logged in users > Set Banner

      <style type="text/css">
      ol{
          margin: 0 0 0 0;
      }
      </style>
      

            Assignee:
            🦊 Fox (Inactive)
            Reporter:
            Moga
            Votes:
            10 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: