Skip to content

Inline Quotation element ignored #216

Closed

Description

@colinrobinsonuib

Html that looks like this:

Here is <q>A Quote</q> from someone.

should be rendered as:

Here is “A Quote“ from someone.

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/q

Solution:

def convert_q(self, el, text, parent_tags):
    return '“' + text + '“'

Activity

  1. chrispy-snps commented on Apr 27, 2025

    @chrispy-snps
    Collaborator

    @colinrobinsonuib - good catch! We should probably use straight ASCII quotes for wider compatibility with downstream flows.

    Are you interested in opening a pull request and officially becoming a contributor?

  2. colinrobinsonuib commented on Apr 27, 2025

    @colinrobinsonuib
    ContributorAuthor

    Sure #217

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

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