The "trailing characters" are in your command, not your document.
Vim thinks that you finished the command at Article</
, then considers h2>/gi
as the third argument of the substitute command. But those characters aren't all valid for the third argument, so it gives you the error.
To solve this, you need to escape the /
character in your substitute.
%s/Article/<h2>Article</h2>/gi
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…