The <strike> HTML tag is not recognized as a standard HTML tag
See original GitHub issueI’m submitting a … (check one with “x”)
[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior When a template contains the <strike></strike> tag angular wants to handle it as a component
Expected/desired behavior It’s an HTML tag, so it does not needs to try to handle as a component.
Reproduction of the problem
zone.js:484 Unhandled Promise rejection: Template parse errors:
'strike' is not a known element:
1. If 'strike' is an Angular component, then verify that it is part of this module.
2. If 'strike' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schema' of this component to suppress this message. ("
<h4 class="price">
Lista ár
[ERROR ->]<strike>
<i>$</i>150
</strike>
</h4>
What is the expected behavior? Do not report any error just render the markup. It’s a normal HTML tag.
- Angular version: 2.0.0-rc.6
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
<strike> - HTML: HyperText Markup Language - MDN Web Docs
The <strike > HTML element places a strikethrough (horizontal line) over text. Warning: This element is deprecated in HTML 4 and XHTML 1,...
Read more >Strike tag from html is not working with attributeText ...
After doing some experiments I found that it is a problem with UILabel that it doesn't support <strike> tag I had to replace...
Read more >Strike Tag in HTML - Scaler Topics
The <strike > HTML tag creates the impression of a strikethrough (cut line) by drawing a horizontal line over the text.
Read more >HTML <strike> Tag
In this article, we will know the HTML <strike> tag, along with understanding its implementation through the example. The <strike> tag defines a ......
Read more >HTML: <strike> tag
You can not use the <strike> tag in HTML5. Instead, you can try using the <del> tag or the <s> tag.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
if
<strick></strick>
not supoort in angular 2/4 then use<s></s>
tag. like before you used<strick>Test</strick>
use instead of<s>Test</s>
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.