The issue here is that when a taghelper prefix is in use it will be including in the HTML output, when it should be chopped off. See the diff in the codegen for examples.