Skip to content

Comments

Cross tag term detections#240

Open
ThieryMichel wants to merge 14 commits intomainfrom
cross-tag-term-detections
Open

Cross tag term detections#240
ThieryMichel wants to merge 14 commits intomainfrom
cross-tag-term-detections

Conversation

@ThieryMichel
Copy link
Collaborator

closes #140

Copy link
Contributor

@ClementDreptin ClementDreptin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rendering of <hi> elements broke if they wrap the term entirely. For example, if I have this:

<p>lorem ipsum <hi rend="bold">Gustave Eiffel</hi></p>

And the detected term is "Gustave Eiffel", it is not rendered in a <strong> element.

This is testable with the minimal.tei.xml file accessible via the /#ark route here http://localhost:3000/istex-view/#ark/EB779CE5B06E21F3E50053841BAC136B79C4A30C in the "Rendition complète" section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chore : 0,5] Explorer comment gérer les termes enrichis et balises de rendu interposées

3 participants