We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b581f8 commit 604a78fCopy full SHA for 604a78f
core/src/main/java/org/owasp/encoder/Encode.java
@@ -276,6 +276,8 @@ public static void forHtmlContent(Writer out, String input)
276
*
277
* <p><b>Additional Notes</b></p>
278
* <ul>
279
+ * <li>When using this method, the caller must provide quotes around the attribute value.</li>
280
+ *
281
* <li>Both the single-quote character ({@code '}) and the
282
* double-quote character ({@code "}) are encoded so this is safe
283
* for HTML attributes with either enclosing character.</li>
0 commit comments