Text nodes containing a single space are removed #6

Closed
grahambates opened this Issue Apr 30, 2012 · 0 comments

Comments

Projects
None yet
2 participants

In the following example the space between the two spans is removed when the text-shadow is applied.

<h1><span>Some words.</span> <span>Some more words</span></h1>

This seems to occur around line 82 where the string is split by break characters. I put in place a quick hack to put the space back if if the split array is empty, but this doesn't seem like a proper solution.

@heygrady heygrady closed this in 74a68e6 Apr 30, 2012

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