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

leginee pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 9b3bb500e9 pre-commit auto fix end of HTML files (#509)
9b3bb500e9 is described below

commit 9b3bb500e966e0e93e0e025028232ec385062bb1
Author: John Bampton <[email protected]>
AuthorDate: Sat Nov 14 22:33:15 2026 +1000

    pre-commit auto fix end of HTML files (#509)
    
    Standardize HTML files to end with one line only
---
 .pre-commit-config.yaml                                                 | 2 +-
 main/MathMLDTD/w3c_ipr_software_notice.html                             | 1 -
 main/extensions/test/ole/ScriptTest.html                                | 2 --
 .../filter/detection/typeDetection/documents/Writer/WriterWeb.html      | 2 +-
 main/qadevOOo/java/OOoRunner/src/main/java/mod/_javavm.uno/package.html | 2 +-
 main/xmerge/java/htmlsoff/src/main/java/package.html                    | 2 --
 .../src/main/java/org/openoffice/xmerge/converter/xml/xslt/package.html | 2 --
 .../xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/package.html | 1 -
 8 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4ea94dfbdb..2e220e5adc 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -56,7 +56,7 @@ repos:
         description: ensures that links to vcs websites are permalinks
       - id: end-of-file-fixer
         description: makes sure files end in a newline and only a newline
-        files: 
(m|M)akefile$|\.(asm|asp|bas|bat|c|cl|cmd|common|component|cpp|cs|cxx|dtd|dxp|el|h|hrc|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|old|pas|php|pl|pm|pmk|properties|props|py|rc|rdf|rng|s|sdi|sh|src|template|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xml|xsd|xslt?|ya?ml)$|^ext_libraries/.*$|^test/.*$
+        files: 
(m|M)akefile$|\.(asm|asp|bas|bat|c|cl|cmd|common|component|cpp|cs|cxx|dtd|dxp|el|h|hrc|html|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|old|pas|php|pl|pm|pmk|properties|props|py|rc|rdf|rng|s|sdi|sh|src|template|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xml|xsd|xslt?|ya?ml)$|^ext_libraries/.*$|^test/.*$
       - id: fix-byte-order-marker
         description: removes UTF-8 byte order marker
       - id: mixed-line-ending
diff --git a/main/MathMLDTD/w3c_ipr_software_notice.html 
b/main/MathMLDTD/w3c_ipr_software_notice.html
index 3a4ed535c1..aa7a570332 100644
--- a/main/MathMLDTD/w3c_ipr_software_notice.html
+++ b/main/MathMLDTD/w3c_ipr_software_notice.html
@@ -102,4 +102,3 @@ [email protected]</a>.<br>
 
 </body>
 </html>
-
diff --git a/main/extensions/test/ole/ScriptTest.html 
b/main/extensions/test/ole/ScriptTest.html
index bd9c75bdc5..79251a7f6f 100644
--- a/main/extensions/test/ole/ScriptTest.html
+++ b/main/extensions/test/ole/ScriptTest.html
@@ -1571,5 +1571,3 @@ function logger_summarize()
 
 </body>
 </html>
-
-
diff --git 
a/main/filter/qa/complex/filter/detection/typeDetection/documents/Writer/WriterWeb.html
 
b/main/filter/qa/complex/filter/detection/typeDetection/documents/Writer/WriterWeb.html
index e22236a4c3..681265ef53 100644
--- 
a/main/filter/qa/complex/filter/detection/typeDetection/documents/Writer/WriterWeb.html
+++ 
b/main/filter/qa/complex/filter/detection/typeDetection/documents/Writer/WriterWeb.html
@@ -17,4 +17,4 @@
 <P STYLE="margin-bottom: 0in">The quick brown fox jumps over the lazy
 dog.</P>
 </BODY>
-</HTML>
\ No newline at end of file
+</HTML>
diff --git 
a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_javavm.uno/package.html 
b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_javavm.uno/package.html
index a54ca6e098..08965bbf3e 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_javavm.uno/package.html
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_javavm.uno/package.html
@@ -3,4 +3,4 @@
 <BODY>
 <P>Contains all test cases for the module 'jen'.</P>
 </BODY>
-</HTML>
\ No newline at end of file
+</HTML>
diff --git a/main/xmerge/java/htmlsoff/src/main/java/package.html 
b/main/xmerge/java/htmlsoff/src/main/java/package.html
index 32b76f58ac..c7628d1f7c 100644
--- a/main/xmerge/java/htmlsoff/src/main/java/package.html
+++ b/main/xmerge/java/htmlsoff/src/main/java/package.html
@@ -57,5 +57,3 @@ The converter also makes use of an XsltPlugin.properties 
file, which may be edit
 
 </BODY>
 </HTML>
-
-
diff --git 
a/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/xslt/package.html
 
b/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/xslt/package.html
index a9c722dcd6..972ce4f1af 100644
--- 
a/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/xslt/package.html
+++ 
b/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/xslt/package.html
@@ -57,5 +57,3 @@ The converter also makes use of an XsltPlugin.properties 
file, which may be edit
 
 </BODY>
 </HTML>
-
-
diff --git 
a/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/package.html 
b/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/package.html
index ac8f568760..c579afc446 100644
--- a/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/package.html
+++ b/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/package.html
@@ -104,4 +104,3 @@ package.</p>
 
 </body>
 </html>
-

Reply via email to