Bug 1320280

Summary: HTML in title tags
Product: OpenShift Online Reporter: Jake Forrester <rannmann>
Component: Management ConsoleAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED WONTFIX QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.xCC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-31 18:22:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jake Forrester 2016-03-22 17:44:19 UTC
On the cartridge selection page ( https://openshift.redhat.com/app/console/application_types ), three cartridge descriptions contain HTML in title attributes.  Mousing over the cartridge displays the HTML in the tooltip rather than the intended new lines.  These three cartridge are:

Ghost 0.7.5
OpenShift Backup Server
Node.js (Latest)

Ex:
<div class="application_type tile tile-click tile-compact label-tags application_type_quickstart" id="application_type_quickstart!243" title="This custom Node.js cartridge takes care of auto-updating the Node.js and NPM versions on each build.<br/><br/>Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.">

As per the HTML specification, HTML cannot exist in attribute tags.  To achieve new lines, the U+000A (LF) character should be used.
Source: https://html.spec.whatwg.org/multipage/dom.html#the-title-attribute

Comment 1 Eric Paris 2017-05-31 18:22:11 UTC
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.