Skip to content

Commit 351e999

Browse files
authored
docs: correct javadoc
1 parent 604a78f commit 351e999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/owasp/encoder/Encode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public static void forHtmlContent(Writer out, String input)
243243
*
244244
* <b>Example JSP Usage</b>
245245
* <pre>
246-
* &lt;input value=&quot;&lt;%=Encode.forHtml(unsafeData)%&gt;&quot; title=&#39;&lt;%=Encode.forHtml(moreUnsafeData)%&gt;&#39; /&gt;
246+
* &lt;input value=&quot;&lt;%=Encode.forHtmlAttribute(unsafeData)%&gt;&quot; title=&#39;&lt;%=Encode.forHtmlAttribute(moreUnsafeData)%&gt;&#39; /&gt;
247247
* </pre>
248248
*
249249
* <table border="0" class="memberSummary" summary="Shows the input and results of encoding">

0 commit comments

Comments
 (0)