Skip to content

Whitespace is being added around spansΒ #113

@thedamon

Description

@thedamon

πŸ› Bug Report

white space is being added in between spans with no discernible way to stop it

To Reproduce

Steps to reproduce the behavior:

Paste your markup here:

      <h1>emergen<span class="t">t</span><wbr /><span
          class="dot"
          aria-hidden
        >β‹…</span>seas
      </h1>

Expected behavior

the t is part of the word 'emergent', so if it needs to not have a space in front of it. The formatting should not change the resulting markup.

Current Results:

<h1>
  emergen
  <span class="t">t</span>
  <wbr />
  <span class="dot" aria-hidden>β‹…</span>seas
</h1>

We are getting spaces inserted around the t, the <wbr> tag

Your Environment

https://prettyhtml.netlify.com/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions