Skip to content

Untidy tags produce invalid Markdown #99

@fauno

Description

@fauno

I may work on a patch when I have the time, but I'll leave this here for discussion :)

I'm converting a large site with user-edited HTML content through a WYSIWYG editor, so I'm finding many cases where stuff like this <em>word</em> is actually <em>wo</em><em>rd</em>, which this gems converts into _wo__rd_. I think it'd be good to add an option to sanitize HTML by removing empty tags and tidying a bit before, but I'm not sure if it'd be a task for reverse markdown. Maybe passing something who can do the cleanup, like Loofah?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions