question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow using hgroup tag in Angular templates

See original GitHub issue

🐞 bug report

This is a very simple issue and there aren’t many details to share

Description

I’m getting compilation error on including the hgroup tag in a template which is a totally valid html tag.

Error in src/app/app.component.html (6:1)
'hgroup' is not a known element:
1. If 'hgroup' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.

πŸ”¬ Minimal Reproduction

https://stackblitz.com/edit/angular-ivy-vwcpfd?file=src/app/app.component.html

if there isn’t any special reason to exclude this tag, it would help composing html semantically

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Airbladercommented, Sep 12, 2020

The hgroup element has been removed from the HTML5 (W3C) specification

0reactions
angular-automatic-lock-bot[bot]commented, Nov 28, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'hgroup' is not a known element error in Angular 5
If 'hgroup' is an Angular component, then verify that it is part of this module. To allow any element add 'NO_ERRORS_SCHEMA' to the...
Read more >
<hgroup> - HTML: HyperText Markup Language | MDN
The <hgroup> element allows the grouping of a heading with any secondary content, such as subheadings, an alternative title, or tagline.
Read more >
Content projection - Angular
With an <ng-template> element, you can have your component explicitly render content based on any condition you want, as many times as you...
Read more >
Building a template-driven form - Angular
This tutorial shows you how to create a template-driven form. The control elements in the form are bound to data properties that have...
Read more >
Validating form input - Angular
To add validation to a template-driven form, you add the same validation attributes as you would with native HTML form validation. Angular uses...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found