Permalink
Browse files

XWIKI-7894: Adding explanation comment.

  • Loading branch information...
1 parent 9f106a8 commit 8d1c4044662bfa78e4cf2b5c31acf36b9903fcd3 @AndreasJonsson AndreasJonsson committed Jun 9, 2012
@@ -60,7 +60,9 @@ protected String escapeAttributeEntities(String text)
}
/**
- * Add left curly to the set of characters that should be encoded.
+ * Add left curly to the set of characters that should be encoded. This to prepare the generated html for use
+ * between {{html}} {{/html}} in XWiki 2.x syntax. (The literal string '{{/html}}' must not occur in the generated
+ * html.)
*
* @param c Character to encode.
* @return {@code true} if the character should be encoded.

0 comments on commit 8d1c404

Please sign in to comment.