Cursor AI generates repeated <html> tags when writing long HTML code

In the process of using Cursor AI to write HTML code, when the page length is slightly longer, a troublesome problem will occur: it will insert a complete HTML structure at the position where a certain line of data should have been modified, resulting in a large number of repeated <html> tags on the web page. This is not an accidental phenomenon. It is a very serious problem, and the probability of this failure occurring is extremely high. I hope this problem can be fixed as soon as possible.
The situation is similar to what my friend encountered in posting. @Frequent occurrence of repeated code pasting.