Skip to content

Commit 15903b4

Browse files
authored
Improve a JSP example in JavaDocs.
1 parent ad296f2 commit 15903b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

0 commit comments

Comments
 (0)