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

Item history widget removing hard return on multiline

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 7.0.2
    • Frontend (F)
    • None
    • Debian 12 VM

      Steps to reproduce:

      1. Create a text file with multiline
      2. Get the content of the file in a item with type of information = text
      3. Display this item with the Item history widget

      Result:

      Hard returns are gone (see screenshots)

      Expected:

      Text displayed with hard returnsĀ 

      Extra infos:

      The item has hard returns when displayed in latest data (see screenshot).

      When right clic + inspect on the widget to see the source, the text has hard returns too.

      This was reproduced on 2 installations, Debian 12 and LXC container both installed from official packages.

        1. item_browser_inspect_widget.png
          23 kB
          Franck VEEGAERT
        2. item_conf.png
          6 kB
          Franck VEEGAERT
        3. item_latest_data_history.png
          24 kB
          Franck VEEGAERT
        4. item_widget_item_history.png
          14 kB
          Franck VEEGAERT

            zabbix.dev Zabbix Development Team
            fveegaert Franck VEEGAERT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: