Skip to content

Redesign HTML generation for structured content #1

Description

@classicsc

Definitions are converted to HTML with a chain of toHTML functions that output a string per element. Output looks fine in most cases, but I've already had to add the special insideAnchor argument to avoid generating nested <a> tags, and there are probably other edge cases. At some point it would be a good idea to investigate moving this to a proper DOM-aware system like SwiftSoup.

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions