You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/NationalBankBelgium/stark/blob/master/CONTRIBUTING.md#got-a-question-or-problem
Current behavior
When we parse html data, the class attributes are not highlighted in the pretty-print.component.ts in the showcase.
Expected behavior
html attributes should have a different color
Minimal reproduction of the problem with instructions
TS:
this.headerHtml = [
'<!DOCTYPE html><html><head><style>body class="test"',
'</style></head><body><h1>This is a heading</h1><p>This is a paragraph.</p></body></html>'
].join("")
Wd should in fact use backticks instead of a string join, so we can create easily a multiline string
TS:
this.headerHtml =
`<!DOCTYPE html><html><head><style>body class="test"
</style></head><body><h1>This is a heading</h1><p>This is a paragraph.</p></body></html>`;
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
When we parse html data, the class attributes are not highlighted in the pretty-print.component.ts in the showcase.
Expected behavior
html attributes should have a different color
Minimal reproduction of the problem with instructions
TS:
HTML:
Wd should in fact use backticks instead of a string join, so we can create easily a multiline string
TS:
The text was updated successfully, but these errors were encountered: