Extra line breaks in the history value

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 5.0.42, 6.0.28, 7.0.0beta2
    • Component/s: Frontend (F)
    • None

      The values on the history page has double line breaks.
      This is because nl2br() does not support newline codes other than LF(\n).
      It can be fixed with the attached patch.
      Steps to reproduce:


      1. Set the eventlog monitoring

      2. Get the value including line breaks

      Result:
      Extra line breaks in the history values.
      Expected:
      No extra line breaks.

            Assignee:
            Zabbix Development Team
            Reporter:
            Taiki Fujiwara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: