You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2017/05/12 09:22:24 UTC

wicket git commit: WICKET-6367 Minor fix to userguide

Repository: wicket
Updated Branches:
  refs/heads/master d8206a23c -> 43f9f7497


WICKET-6367 Minor fix to userguide


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/43f9f749
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/43f9f749
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/43f9f749

Branch: refs/heads/master
Commit: 43f9f74975cfeb3d9ac32f0cb4e49ecb68586e26
Parents: d8206a2
Author: Andrea Del Bene <an...@innoteam.it>
Authored: Fri May 12 11:21:32 2017 +0200
Committer: Andrea Del Bene <an...@innoteam.it>
Committed: Fri May 12 11:21:32 2017 +0200

----------------------------------------------------------------------
 wicket-user-guide/src/main/asciidoc/modelsforms/modelsforms_1.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/43f9f749/wicket-user-guide/src/main/asciidoc/modelsforms/modelsforms_1.adoc
----------------------------------------------------------------------
diff --git a/wicket-user-guide/src/main/asciidoc/modelsforms/modelsforms_1.adoc b/wicket-user-guide/src/main/asciidoc/modelsforms/modelsforms_1.adoc
index b4212bd..8d99b09 100644
--- a/wicket-user-guide/src/main/asciidoc/modelsforms/modelsforms_1.adoc
+++ b/wicket-user-guide/src/main/asciidoc/modelsforms/modelsforms_1.adoc
@@ -54,5 +54,5 @@ From now on we will use these factory methods in our examples.
 It's quite clear that if our Label must display a static text it doesn't make much sense to build a model by hand like we did in the last code example.
 However is not unusual to have a Label that must display a dynamic value, like the input provided by a user or a value read from a database. Wicket models are designed to solve these kinds of problems.
 
-By default the class Component escapes HTML sensitive characters (like '<', '>' or '&') from the textual representation of its model object. The term 'escape' means that these characters will be replaced with their corresponding HTML  http://en.wikipedia.org/wiki/Character_entity_reference[entity] (for example '<' becomes '>'). This is done for security reasons as a malicious user could attempt to inject markup or JavaScript into our pages. If we want to display the raw content stored inside a model, we can tell the Component class not to escape characters by calling the setEscapeModelStrings(false) method.
+By default the class Component escapes HTML sensitive characters (like '<', '>' or '&') from the textual representation of its model object. The term 'escape' means that these characters will be replaced with their corresponding HTML  http://en.wikipedia.org/wiki/Character_entity_reference[entity] (for example '<' becomes &amp;lt;). This is done for security reasons as a malicious user could attempt to inject markup or JavaScript into our pages. If we want to display the raw content stored inside a model, we can tell the Component class not to escape characters by calling the setEscapeModelStrings(false) method.