no-html-method.md 409 B

Do not write to DOM directly using jQuery html() method (no-html-method)

Direct calls to method html() often (e.g. in jQuery framework) manipulate DOM without any sanitization and should be avoided. Use document.createElement() or similar methods instead.

Related Rules