Skip to content

Consider defaulting narrative text to the xhtml namespace #290

@lmsurpre

Description

@lmsurpre

We are getting a lot of xmlns="" attributes in the narrative text of our output.

There is a related issue where it was recommend to set the namespace of the xhtml when you call the api:
#193

This is not ideal for us because we build up the narrative text from xhtml snippets that we store in our db and we'd prefer to avoid adding xmlns everywhere in our views.

It seems like the narrative text should always be in the xhtml namespace and so maybe the library could assume that? Or maybe if you add a snippet of narrative text with no namespace, it could automatically make that http://www.w3.org/1999/xhtml ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions