angular/packages/compiler/src/render3
Kristiyan Kostadinov 2bcbbda789 fix(compiler): not generating update instructions for ng-template inside alternate namespaces (#41669)
We have a check that determines whether to generate property binding instructions for an `ng-template`. The check looks at whether the tag name is exactly `ng-template`, but the problem is that if the tag is placed in a non-HTML namespace (e.g. `svg`), the tag name will actually be `:namespace:ng-template` and the check will fail.

These changes resolve the issue by looking at the tag name without the namespace.

Fixes #41308.

PR Close #41669
2021-04-20 09:44:45 -07:00
..
partial fix(compiler): non-literal inline templates incorrectly processed in partial compilation (#41583) 2021-04-16 09:33:05 -07:00
view fix(compiler): not generating update instructions for ng-template inside alternate namespaces (#41669) 2021-04-20 09:44:45 -07:00
r3_ast.ts refactor(compiler): option to include html comments in ParsedTemplate (#41251) 2021-03-29 15:16:26 -07:00
r3_class_metadata_compiler.ts refactor(compiler-cli): introduce declaration function to declare class metadata (#41200) 2021-04-12 10:41:17 -07:00
r3_factory.ts refactor(compiler): rename R3FactoryTarget to FactoryTarget (#41231) 2021-03-30 16:46:37 -07:00
r3_identifiers.ts refactor(compiler-cli): introduce declaration function to declare class metadata (#41200) 2021-04-12 10:41:17 -07:00
r3_injector_compiler.ts refactor(compiler): use ɵɵInjectorDeclaration rather than ɵɵInjectorDef in compiled output (#41119) 2021-03-22 08:57:18 -07:00
r3_jit.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
r3_module_compiler.ts refactor(core): rename ...WithMeta types to ...Declaration and alias to unknown (#41119) 2021-03-22 08:57:18 -07:00
r3_pipe_compiler.ts refactor(core): rename ...WithMeta types to ...Declaration and alias to unknown (#41119) 2021-03-22 08:57:18 -07:00
r3_template_transform.ts refactor(compiler): option to include html comments in ParsedTemplate (#41251) 2021-03-29 15:16:26 -07:00
util.ts refactor(compiler-cli): implement ɵɵngDeclareNgModule and ɵɵngDeclareInjector (#41080) 2021-03-15 13:26:51 -07:00