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 2022/11/12 19:08:09 UTC

[wicket] branch wicket-9.x updated: Fixing asciidoc formatting issues

This is an automated email from the ASF dual-hosted git repository.

adelbene pushed a commit to branch wicket-9.x
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/wicket-9.x by this push:
     new fa67eaabef Fixing asciidoc formatting issues
fa67eaabef is described below

commit fa67eaabef7229f6cd5d91b26298eb90d8bc45d6
Author: Andrea Del Bene <ad...@apache.org>
AuthorDate: Sat Nov 12 20:07:23 2022 +0100

    Fixing asciidoc formatting issues
---
 wicket-user-guide/src/main/asciidoc/karaf/karaf_1.adoc     | 10 +++++-----
 wicket-user-guide/src/main/asciidoc/testing/testing_1.adoc |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/wicket-user-guide/src/main/asciidoc/karaf/karaf_1.adoc b/wicket-user-guide/src/main/asciidoc/karaf/karaf_1.adoc
index 5dde7fbaf2..5a8f24da8d 100644
--- a/wicket-user-guide/src/main/asciidoc/karaf/karaf_1.adoc
+++ b/wicket-user-guide/src/main/asciidoc/karaf/karaf_1.adoc
@@ -5,7 +5,7 @@ Wicket jar files are packaged as OSGi bundles and are ready to be installed in O
 
 Wicket provides a Karaf feature file to assist in installation and building Karaf distributions that include Wicket.
 
-==== Add Wicket feature
+=== Add Wicket feature
 
 [source,subs="quotes"]
 ----
@@ -13,7 +13,7 @@ karaf@root()> repo-add mvn:org.apache.wicket/wicket/_version_/xml/features
 Adding feature url mvn:org.apache.wicket/wicket/_version_/xml/features
 ----
 
-==== Verify Wicket feature
+=== Verify Wicket feature
 
 [source,subs="quotes"]
 ----
@@ -21,14 +21,14 @@ karaf@root()> feature:list | grep -i wicket
 wicket-core    │ _version_ │    │ Uninstalled │ org.apache.wicket.wicket-_version_ │
 ----
 
-==== Install Wicket feature
+=== Install Wicket feature
 
 [source,subs="quotes"]
 ----
 karaf@root()> feature:install wicket-core
 ----
 
-==== Troubleshooting
+=== Troubleshooting
 
 Inspect the wicket-core feature
 
@@ -66,7 +66,7 @@ The Wicket feature may be referenced from Maven to include in Karaf assemblies.
 </dependency>
 ----
 
-==== Reference links
+=== Reference links
 
 https://karaf.apache.org[Apache Karaf website]
 
diff --git a/wicket-user-guide/src/main/asciidoc/testing/testing_1.adoc b/wicket-user-guide/src/main/asciidoc/testing/testing_1.adoc
index 6f8339edc8..35daf7e089 100644
--- a/wicket-user-guide/src/main/asciidoc/testing/testing_1.adoc
+++ b/wicket-user-guide/src/main/asciidoc/testing/testing_1.adoc
@@ -287,7 +287,7 @@ public void tearDown(){
 
 === Setting request headers
 
-In some cases you might need to set one or more specific request headers to make your test pass. This holds true when your application is protected against CSRF attacks as explained in <<security.adoc#_csrf_protection,paragraph 22.5>>. In this particular case in order to make your tests green you must set header request _"sec-fetch-site"_ to _same-site_ before clicking on a page link or before invoking a callback URL:
+In some cases you might need to set one or more specific request headers to make your test pass. This holds true when your application is protected against CSRF attacks as explained in <<security.adoc#_csrf_protection,paragraph 22.5>>. In this particular case in order to make your tests green you must set header request _sec-fetch-site_ to _same-site_ before clicking on a page link or before invoking a callback URL:
 
 [source,java]
 ----
@@ -316,4 +316,4 @@ public class TestHomePage
 }	
 ----
 
-NOTE: keep in mind that request headers are immediately discarded after the use and thus are not re-used for following requests. 
\ No newline at end of file
+NOTE: keep in mind that request headers are immediately discarded after the use and thus are not re-used for following requests.