Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24268

Extra line breaks in the history value

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.0.42, 6.0.28, 7.0.0beta2
    • 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.

            zabbix.dev Zabbix Development Team
            Taiki Fujiwara Taiki Fujiwara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: