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