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

fix HTML output of timeline descriptions #172

Merged
merged 2 commits into from
Oct 20, 2023
Merged

fix HTML output of timeline descriptions #172

merged 2 commits into from
Oct 20, 2023

Conversation

peterstadler
Copy link
Member

This PR fixes #168 by updating an XPath predicate to recursively look for text nodes within an <mei:desc>. NB, there's a related issue (that surfaced here) in that the MerMEId creates invalid MEI by adding an <mei:p> within <mei:desc>. Yet, I think the proposed fix is still valid since there are other child elements allowed within <mei:desc> that also might fool the original XPath expression.

@peterstadler
Copy link
Member Author

pinging @halhosar and @daniel-jettka for review :)

@daniel-jettka
Copy link

If this is this intended output, then it looks fine to me... :-) @peterstadler

image

Added this in the time line form:

image

@daniel-jettka daniel-jettka merged commit 056f814 into develop Oct 20, 2023
6 checks passed
@daniel-jettka daniel-jettka deleted the issue-168 branch October 20, 2023 07:18
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

Successfully merging this pull request may close these issues.

Time line function does not create output
3 participants