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

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new f118aac5b8 Change the way to import the CSS in the XHTML pages for IP 
review. This is reflecting the change done in commit 1916044 of 
https://svn.apache.org/repos/asf/sis/ip-review
f118aac5b8 is described below

commit f118aac5b88bc31b2daf3c71d59f0f5171c6f42e
Author: Martin Desruisseaux <martin.desruisse...@geomatys.com>
AuthorDate: Wed Feb 28 16:33:17 2024 +0100

    Change the way to import the CSS in the XHTML pages for IP review.
    This is reflecting the change done in commit 1916044 of 
https://svn.apache.org/repos/asf/sis/ip-review
---
 .../test/org/apache/sis/referencing/report/HTMLGenerator.java        | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/HTMLGenerator.java
 
b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/HTMLGenerator.java
index 1e2d928fe7..d4398cbb31 100644
--- 
a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/HTMLGenerator.java
+++ 
b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/HTMLGenerator.java
@@ -110,11 +110,10 @@ abstract class HTMLGenerator implements Closeable {
         out.write("<meta charset=\"" + ENCODING + "\"/>");
         out.newLine();
         println("title", title);
-        openTag("style type=\"text/css\" media=\"all\"");
         out.write(margin);
-        out.write("@import url(\"");
+        out.write("<link rel=\"stylesheet\" href=\"");
         out.write(css);
-        out.write("\");");
+        out.write("\"/>");
         out.newLine();
         closeTags(head);
         openTag("body");

Reply via email to