-
Notifications
You must be signed in to change notification settings - Fork 9
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
CPE Applicability Language #120
Conversation
74425cc
to
ad5d75f
Compare
node_title.appendChild(get_note(`\u00A0\u00A0${node_data.comment}`)); | ||
node_text.appendChild(get_label(color, node_data.tag)); | ||
node_text.appendChild(get_label(color, node_data.value, get_icon_as_html(icon))); | ||
node_text.appendChild(get_note(`\u00A0\u00A0${node_data.comment ? node_data.comment : ""}`)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because JavaScript interprets
as a sequence of characters which are escaped for DOM elements. Here is an article about that. There is an option to insert this string as pure HTML into this DOM element, but I'd like to keep an object-oriented approach to the DOM elements.
oval_tree=oval_tree | ||
)], | ||
), | ||
title="System platform of profile", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title="System platform of profile", | |
title="Profile platform", |
|
||
|
||
class ExceptionNoCPEApplicabilityLanguage(Exception): | ||
"""Raise when there is no CPE Applicability Language""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""Raise when there is no CPE Applicability Language""" | |
"""Raise when there is no CPE Applicability Language platform specification""" |
1d8dbf0
to
535bea7
Compare
This PR implements parsing of CPE AL.