Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-28732

Copy to clipboard button copies script with HTML entities

XMLWordPrintable

    • Sprint 140, Sprint 141
    • None

      When using the 'Copy to clipboard' button on the script that virt_who_configure gave me, it copied it to the clipboard with HTML entities. This causes an error when I try to run the script.

      Lines like

      [ "$1" = "$2" ] && return 1 || version_lte $1 $2

      actually show up as

      [ "$1" = "$2" ] && return 1 || version_lte $1 $2 

      and cause

      ./virt.sh: line 15: syntax error near unexpected token `;&' ./virt.sh: line 15: ` [ "$1" = "$2" ] && return 1 || version_lte $1 $2'

              Unassigned Unassigned
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: