Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newlines in plugin output disappear #3662

Closed
Al2Klimov opened this issue Jan 12, 2019 · 0 comments

Comments

@Al2Klimov
Copy link
Contributor

commented Jan 12, 2019

Expected Behavior

The plugin output renderer preserves <br> as intended.

Current Behavior

<br>s disappear in plugin outputs like this:

<p><b>Some dependencies aren't up-to-date!</b></p>

<p><span style="color: #e00;">- git.example.com/toni/lolcat.git @ master [ 1:27bafc5041cc37c1037fea24d229ba1fa1f82f1af53a882498d73e275c6ae468 ]</span><br><span style="color: #0e0;">+ git.example.com/toni/lolcat.git @ master [ 1:42ebca432b6ed5a12776ff84ad775d98193cbf683e92ef9236004f51b00f71ed ]</span></p> |'unchanged'=0;;;0 'updated'=1;@1:;;0 'updated_tags'=0;;@1:;0 'added'=0;;@1:;0 'deleted'=0;@1:;;0

Possible Solution

I don't know.

Steps to Reproduce (for bugs)

  1. Create a plugin with a such output
  2. View it in Icinga Web 2

Context

Al2Klimov/check_golang_dep#3

Your Environment

  • Icinga Web 2 version and modules (System - About): v2.6.1
  • Version used (icinga2 --version): r2.10.0-1
  • Operating System and version: Debian 9
  • Enabled features (icinga2 feature list):
  • Config validation (icinga2 daemon -C):
  • If you run multiple Icinga 2 instances, the zones.conf file (or icinga2 object list --type Endpoint and icinga2 object list --type Zone) from all affected nodes.

Al2Klimov added a commit that referenced this issue Mar 1, 2019

@Al2Klimov Al2Klimov self-assigned this Mar 1, 2019

Al2Klimov added a commit that referenced this issue Mar 1, 2019

Al2Klimov added a commit that referenced this issue Mar 1, 2019

Al2Klimov added a commit that referenced this issue Mar 1, 2019

nilmerg added a commit that referenced this issue Apr 11, 2019

@nilmerg nilmerg added this to the 2.6.3 milestone Apr 11, 2019

@nilmerg nilmerg changed the title <br>s in plugin output disappear Newlines in plugin output disappear Apr 24, 2019

@Al2Klimov Al2Klimov referenced this issue May 1, 2019

Open

HTML output #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.