Skip to content

a <figure> in a <list rend="ugly"> is rendered in HTML with class="figure ugly" #764

@sydb

Description

@sydb

When an input tei:list/tei:item/tei:figure is run through teitohtml the output is an <html:figure> which has a @class of both "figure" (which is redundant, but not a problem) and the value of the ancestor <list>’s @rend (which seems at least weird, if not problematic).

When an input tei:list/tei:item/tei:p/tei:emph/tei:figure is run through teitohtml the output is an <html:span> (probably because <html:fiugre> is not permitted in <html:p>, but I have not checked) which has a @class of "figure figure" (which is redundant, but not necessarily a problem).

I will attach a tiny little test TEI document that can be used to demonstrate this behavior to a subsequent comment on this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    conversion: htmlpriority: lowNot urgent; can be dealt with when someone has free time or is looking for a project.resp: StylesheetsGroupIssue is suitable for the group-learning approach taken in the Stylesheets Coop Working Group.status: needsDiscussionCouncil has not yet been able to agree on how to proceed.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions