[
https://issues.apache.org/jira/browse/TIKA-4943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18121286#comment-18121286
]
ASF GitHub Bot commented on TIKA-4943:
--------------------------------------
henry-lindeman-glean opened a new pull request, #3277:
URL: https://github.com/apache/tika/pull/3277
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
Thanks for your contribution to [Apache Tika](https://tika.apache.org/)!
Your help is appreciated!
Before opening the pull request, please verify that
* there is an open issue on the [Tika issue
tracker](https://issues.apache.org/jira/projects/TIKA) which describes the
problem or the improvement. We cannot accept pull requests without an issue
because the change wouldn't be listed in the release notes.
* the issue ID (`TIKA-XXXX`)
- is referenced in the title of the pull request
- and placed in front of your commit messages surrounded by square
brackets (`[TIKA-XXXX] Issue or pull request title`)
* commits are squashed into a single one (or few commits for larger changes)
* Tika builds and unit tests pass with `./mvnw clean install` (`clean test`
alone cannot resolve the pipes plugin zips)
* if you used a generative AI tool: follow the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) (`Generated-by:
<tool>` in the commit message), and consider running the pre-flight in
`.skills/devs/pr-review/SKILL.md` — fix what it finds; don't paste its report
here
* there should be no conflicts when merging the pull request branch into the
*recent* `main` branch. If there are conflicts, please try to rebase the pull
request branch on top of a freshly pulled `main` branch
* if you add new module that downstream users will depend upon add it to
relevant group in `tika-bom/pom.xml`.
We will be able to faster integrate your pull request if these conditions
are met. If you have any questions how to fix your problem or about using Tika
in general, please sign up for the [Tika mailing
list](http://tika.apache.org/mail-lists.html). Thanks!
```
❯ java -jar tika-app/target/tika-app-4.1.1-SNAPSHOT.jar -x
~/glean/tika/Downloadme/parsing-test-2/Section-1.one
INFO [main] 11:26:22,159 org.apache.tika.cli.TikaCLI As a convenience,
TikaCLI has turned on several non-default features
as specified in
tika-app/src/main/resources/tika-config-default-single-file.json.
See: TIKA-2374, TIKA-4017, TIKA-4354 and TIKA-4472).
This is not the default behavior in Tika generally or in tika-server.
INFO [main] 11:26:22,247 org.apache.tika.config.loader.TikaLoader temporary
files go to java.io.tmpdir=/var/folders/r3/0ktdq26562d324x6wxwj10y40000gn/T
INFO [main] 11:26:24,518 org.apache.tika.config.loader.ParserLoader text
recognizers: none found among the loaded parsers; images and rendered pages are
not enriched
<?xml version="1.0" encoding="UTF-8"?><html
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="tk:content-type-magic-detected" content="application/onenote;
format=one"/>
<meta name="tk:resource-name" content="Section-1.one"/>
<meta name="Content-Length" content="86561"/>
<meta name="tk:parsed-by" content="org.apache.tika.parser.CompositeParser"/>
<meta name="tk:parsed-by" content="org.apache.tika.parser.DefaultParser"/>
<meta name="tk:parsed-by"
content="org.apache.tika.parser.microsoft.onenote.OneNoteParser"/>
<meta name="Content-Type" content="application/onenote; format=one"/>
<title/>
</head>
<body><div class="page"><p>Page 1</p>
<p>Wednesday, August 12, 2026</p>
<p>10:24 AM</p>
<p>Text</p>
<p>More text</p>
<p>Bold Text</p>
<p>Italic Text</p>
<p>Underlined test</p>
<p>Red text</p>
<p>Highlighted text</p>
<p>ddd</p>
</div>
<div class="page"><p>Page sdskgjhsdlf</p>
<p>Wednesday, August 12, 2026</p>
<p>10:26 AM</p>
<ul> <li><p>Bullet 1</p>
</li>
<li><p>Bullet 2</p>
<ul> <li><p>Indented bullet</p>
<ul> <li><p>Indented square</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<ol type="1"> <li><p>Number 1</p>
</li>
<li><p>Number 2</p>
<ol type="a"> <li><p>Letter a</p>
<ol type="i"> <li><p>Numeral I</p>
</li>
</ol>
</li>
</ol>
</li>
</ol>
<ol type="1"> <li><p>Outdented number</p>
</li>
</ol>
<p>More text</p>
<table><tr> <td><p>Table cell 1a</p>
</td> <td/> <td/> <td><p>Table cell 4a</p>
</td></tr>
<tr> <td/> <td><p>Table cell 2b</p>
</td> <td><p>Table cell 3b</p>
</td> <td><p>Table cell 4b</p>
</td></tr>
</table>
<p>Comic sans</p>
<p>Dd</p>
<p>D</p>
</div>
</body></html>%
```
> Emit onenote lists and tables as html lists and tables
> ------------------------------------------------------
>
> Key: TIKA-4943
> URL: https://issues.apache.org/jira/browse/TIKA-4943
> Project: Tika
> Issue Type: Improvement
> Components: parser
> Reporter: Henry Lindeman
> Priority: Minor
>
> currently table cells and list items are emitted in p tags
> instead use <tr>/<td> and <ul>/<li>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)