Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wordpress footnotes aren't handled #24

Closed
pgeorgi opened this issue Jun 29, 2024 · 3 comments
Closed

Wordpress footnotes aren't handled #24

pgeorgi opened this issue Jun 29, 2024 · 3 comments

Comments

@pgeorgi
Copy link

pgeorgi commented Jun 29, 2024

Footnotes in the wordpress export look like this for me:

text<sup data-fn="d47ee556-3faf-44c3-9949-3a1ae45f11f9" class="fn"><a href="#d47ee556-3faf-44c3-9949-3a1ae45f11f9" id="d47ee556-3faf-44c3-9949-3a1ae45f11f9-link">1</a></sup>

with one of several wp:postmeta sections describing it like this:

                <wp:postmeta>
                <wp:meta_key><![CDATA[footnotes]]></wp:meta_key>
                <wp:meta_value><![CDATA[[{"content":"The Footnote Text","id":"d47ee556-3faf-44c3-9949-3a1ae45f11f9"}]]]></wp:meta_value>
                </wp:postmeta>

The conversion currently only keeps the a href portion, pointing to nowhere (that is, to the anchor #d47... which isn't present).

Not a priority for me, since my set of footnotes is so tiny that I just deal with them manually, but maybe something you want to implement?

@ashishb
Copy link
Owner

ashishb commented Jun 30, 2024

Thanks @pgeorgi.
Would you like to send a PR to fix this?
Alternatively, feel free to email me a sample file at ashishb[AT]ashishb.net

@pgeorgi
Copy link
Author

pgeorgi commented Jul 1, 2024

@ashishb
Copy link
Owner

ashishb commented Jul 6, 2024

Thanks.
This is not handled in cdc3341

@ashishb ashishb closed this as completed Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants