Skip to content

content of <time> element is removed #136

@yochem

Description

@yochem

Problem

The content of <time> elements is removed from the output of Defuddle.

To reproduce:

  1. Go to the Defuddle Playground
  2. Paste the following:
<main>
  <p>Current date is <time datetime="2026-03-03">March 3, 2026</time>.</p>
</main>

Note: I've wrapped it in <main> and <p> to force it to be inside of "main content" of a web page

  1. Notice the output is Current date is . The metadata does pick up the time element, which should probably count as a false positive.

Solution

Output should be Current date is March 3, 2026., where the content of the <time> tag is used as-is.

Thanks in advance! I really enjoy playing around with the tool :)

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