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 604a78f commit 351e999Copy full SHA for 351e999
core/src/main/java/org/owasp/encoder/Encode.java
@@ -243,7 +243,7 @@ public static void forHtmlContent(Writer out, String input)
243
*
244
* <b>Example JSP Usage</b>
245
* <pre>
246
- * <input value="<%=Encode.forHtml(unsafeData)%>" title='<%=Encode.forHtml(moreUnsafeData)%>' />
+ * <input value="<%=Encode.forHtmlAttribute(unsafeData)%>" title='<%=Encode.forHtmlAttribute(moreUnsafeData)%>' />
247
* </pre>
248
249
* <table border="0" class="memberSummary" summary="Shows the input and results of encoding">
0 commit comments