mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9fa6f5a552
Currently whenever we insert element we do it directly on the node using `appendChild` or `insertBefore`, however this doesn't work with `<template>` elements where the `template.content` has to be used. These changes add a few checks to call `appendChild` and `insertBefore` on the `content` of the template. Fixes #15557. PR Close #43429