OWASP / java-html-sanitizer

Takes third-party HTML and produces HTML that is safe to embed in your web application. Fast and easy to configure.
Other
835 stars 209 forks source link

add inAttribute and change parameter order #267

Open yangbongsoo opened 2 years ago

yangbongsoo commented 2 years ago

First of all, thank you for continuously doing the version up.

  1. Added comment for newly added inAttribute in appendDecodedEntity method.
  2. Like the order of the appendDecodedEntity method parameter, I modified it because I thought it would be more natural to have the html parameter come first. Since the inAttribute parameter is used first inside mayComplete method, it can be said that it was declared first, so if you say no, I will roll back.